Struts Hello world example : There is no Action mapped for namespace [/] and action name error

前端 未结 7 1730
小蘑菇
小蘑菇 2020-12-16 17:13

i am absolute beginner to Struts2. I am tying to follow tutorials on struts web site. i followed this tutorial. i have some trouble with it. i created dynamic web project on

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-16 17:55

    I got the same error and got solution looking at tomcat log when restarting : doctype were missing in struts.xml

    so I added

    
    
    

    now it works !

提交回复
热议问题