Tomcat 控制台打出如下警告:

WARN - No configuration found for the specified action: ‘xxxxx’in namespace: ‘/’. Form action defaulting to ‘action’ attribute’s literal value.

主要由于在写struts2表单时有给action指定全名,如:<s:form action=」xxxAction.do」…>,直接写成<s:form action=」xxxAction」…>即可,因为在struts.xml中struts.action.extension属性有指定啦。

有一个关于在namespace上的设置在 hi.baidu.com/mum0532/blog/item/128f9a64fa8594f5f6365457. html 。这位朋友讲的很透彻很详细

关于Struts2 的 namespace 详细解释 www.javaeye.com/topic/125743


原文链接: No configuration found for the specified action | Log4D

3a1ff193cee606bd1e2ea554a16353ee

欢迎关注我的微信公众号:窥豹

窥豹