Friday, February 22, 2008

Struts 2 Tips

To create a Struts2 application using Maven2 (features sitemesh integration and validation example)
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
Find more information on this at http://struts.apache.org/2.0.11/docs/struts-maven-archetypes.html

0 comments:

Post a Comment