六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 203|回复: 0

No configuration found for the specified action

[复制链接]

升级  68%

8

主题

8

主题

8

主题

童生

Rank: 1

积分
34
 楼主| 发表于 2013-2-6 11:04:02 | 显示全部楼层 |阅读模式
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" ...>
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表