No configuration found for the specified action

No configuration found for the specified action

这个错误提示相信很多人和我一样都碰到过,现在决定还是要把他解决掉

首先看下其正确得全部错误提示,基本应该是这样得:

WARN - No configuration found for the specified action: 'xxxxxv.ation'in namespace: '/'. Form action defaulting to 'action' attribute's literal value.

英语好一点得朋友都能直接翻译,意思也很明了,就是没有发现对“xxxx.action”的配置

解决办法很简单,要么你吧你得配置种
<action name="xxxx" ...>

修改为
<action name="xxxx.action">


要么在JSP调用中
<s:form action="xxxx.action" ...>

修改为
<s:form action="saveTest" ...>



你可能感兴趣的:(html,jsp,xml)