What is the dependency code for adding to pom.xml file to include the struts2 library?
Thanks
You should add the following in the pom.xml file for enabling the Struts 2 in your web application:
<dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <version>2.3.16.3</version> </dependency>
Read more Maven tutorial at http://www.roseindia.net/maven3/index.shtml Check Struts tutorials at http://www.roseindia.net/struts/index.shtml
Ads