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

前端 未结 7 1733
小蘑菇
小蘑菇 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:59

    Right click the project. Go to properties deployment build path and add all .jar files to /WEB-INF/lib.
    Then you shouldn't get this error.

    struts.xml should be located under directory: src/struts.xml..

    And WEB-INF/web.xml you we need to configure the struts based on filter..

提交回复
热议问题