How to add struts2 dependency in Maven?

Ads
 

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

Ads









Related Tutorials/Questions & Answers:
How to add struts2 dependency in Maven?
struts2 how can we add an radio button to form using a class(doa)
Advertisements
struts2 how can we add an radio button to form using a class(doa)
How to add
how to show required fields indicate as * in struts2
struts2
How to Assign struts2 property to jsp variable
how to operate on select box using ajax in struts2?
how to implement ajax in struts2 to operate on selectbox in jsp
how to add to numbers in java
How to add JTable in JPanel
how to add dynamic data
how to add mulitiple projections
how to get time picker value in javascript of struts2
how to add a file in GZIP
How to Assign struts2 property to jsp variable
How to add BigDecimal in Java?
how to add plugins into eclipse
how to add scrollbar to JFrame
how to add scrollbar to JFrame
how to add scrollbar to JFrame
how to add scrollbar to JFrame
how to add scrollbar to JFrame
how to operate on select box using ajax in struts2?
Struts2
how to deploy struts2 app in Intellij idea
how to deploy struts2 app in Intellij idea
how to deploy struts2 app in Intellij idea
how to deploy struts2 app in Intellij idea
how to deploy struts2 app in Intellij idea
how to deploy struts2 app in Intellij idea

Ads