问答详情
源自:4-3 配置Action,Service,Dao的类-Struts2整合Spring

There is no Action mapped for namespace [/]

There is no Action mapped for namespace [/] and action name [in] associated with context path [/ssh]. - [unknown location] 怎么解决啊

提问者:kkk41jin 2016-09-13 17:01

个回答

  • qq_花间饮水_03185405
    2017-03-19 19:33:49

    兄弟,你的问题解决了吗?

  • cool默默
    2017-01-02 16:11:01

    默认的话,struts.xml文件一定要放在/WEB-INF/classes下,我是用的eclipse不是老师的myeclipse,所以手动建了个classes文件夹把struts.xml放进来http://img.mukewang.com/586a0ada0001f77902860124.jpg

  • 耗子王丶
    2016-10-25 18:27:09

    There is no Action mapped for namespace [/] and action name [in] associated with context path [/ssh]. - [unknown location]这个问题,从2.3以后,使用通配符的时候需要加入<allowed-methods>。在action标签里面加上<allowed-methods>*</allowed-methods>应该就可以了

  • 慕粉3598279
    2016-09-16 22:12:44

    配置没整合