摘要: 今天在使用Struts时,发现在用servlet时会报There is no Action mapped for namespace [/] and action name [UserInfoCollection] associated with context path [/ShowMail_SSI]. - [unknown location]原因是在web.xml设置过滤器的时候直接使用会将servlet过滤掉。如果要同时使用struts和servlet,需要将servlet的filter设置在struts前面这个filter中init-param必须加上所有的servlet。然后在ser 阅读全文
posted @ 2013-02-01 18:11 三句对白 阅读(395) 评论(1) 推荐(0) 编辑