In the official doc by Apache Struts, they mentioned this:
“In your Java IDE create a Java web application with a project name of
basic_struts that follows the standard Maven project folder structure”
What does that mean?
- Does it mean, create a Maven project? (but that doesn’t seemlike a web project)
- Create a Dynamic Web Project? (But how do I use Maven? I’ll be using a
pom.xml
file as mentioned in the guide)
How to create Struts 2 application using Maven?
2
Answers
Create a dynamic web project and then convert it to maven project in eclipse IDE.
[[1]: https://i.stack.imgur.com/R4jSA.png%5D%5B1%5D
You can create struts2 project by choosing this archetype
You can get more information about Maven archetypes on the struts site.