Wednesday, March 19, 2008

Learning Struts2 (introduction and links)

In my current engagement we are using Struts2 as web application framework and maven2 as build (project management system). In this blog entry I am making note of some useful links that helped to begin working with Struts2 and Maven2.

A good introduction on Struts2 can be found at http://www.wantii.com/wordpress/?p=8

To create a struts 2 project use the following command

mvn archetype:create   -DgroupId=tutorial \
-DartifactId=tutorial \
-DarchetypeGroupId=org.apache.struts \
-DarchetypeArtifactId=struts2-archetype-starter \
-DarchetypeVersion=2.0.5-SNAPSHOT \
-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository

More information on this archetype can be found at http://struts.apache.org/2.x/docs/struts-maven-archetypes.html

To get your hand dirty with Struts2 you may find this a good read Getting Started with Struts2 (Part 1)


0 comments:

Post a Comment