0
I downloaded the Apache provided examples of Struts 2 projects into their repository here.
I tried to run the example helloworld
. If I run through Jetty for Maven with mvn jetty:run
, the project works normally when visiting http://localhost:8080/helloworld/index.jsp
.
However, if I use Apache Tomcat 8.5 in Eclipse (currently trying to run using Run As > Run on Server), I have 404 errors.
I think there is some wrong configuration in Eclipse or Tomcat that is causing this error, but I can’t find what it is. What I need to do to use Struts 2 with Apache Tomcat?