How to add struts2 dependency in Maven?

 
 

Share on Google+Share on Google+

Java Coder
How to add struts2 dependency in Maven?
1 Answer(s)      3 years and 2 months ago
Posted in : Struts
Ads

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

Thanks

Ads
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


Ads









Ads

 
Advertisement null

Ads