1happy10 发表于 2013-2-6 11:04:02

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”的配置

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

<action name="xxxx" ...>

修改为
Xml代码
<action name="xxxx.action">

<action name="xxxx.action">


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

<s:form action="xxxx.action" ...>

修改为
Html代码
<s:form action="saveTest" ...>
页: [1]
查看完整版本: No configuration found for the specified action