There is no Action mapped for namespace / and action name tutorial

后端 未结 5 1695
粉色の甜心
粉色の甜心 2021-01-27 07:22

I am unable to execute my struts2 application. I am using eclipse indigo IDE, tomcat 7 and jdk 1.7.

The jar files I included are:

  • commons-logging-1.0.4.jar
5条回答
  •  一生所求
    2021-01-27 08:07

    The error comes because the server is not able to find correct path for struts.xml . Its better to put the struts.xml in parallel to src folder or in WEB-INF/classes.

提交回复
热议问题