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

后端 未结 5 1762
粉色の甜心
粉色の甜心 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 07:51

    Try to add namespace attribute into you package element of struts.xml file.

    Like this:

    
    
        
            /success.jsp
            /failure.jsp
        
    
    
    

提交回复
热议问题