How to add struts2 dependency in Maven?

What is the dependency code for adding to pom.xml file to include the struts2 library?

Thanks

View Answers

November 16, 2014 at 6:34 AM

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









Related Tutorials/Questions & Answers:
Advertisements