struts2配置的action没反应的问题
2009-12-26 12:39
375 查看
这个样子的配置是无效的。因为 name 和 等号= 之间有一个空格,把空格去掉就可以了
<package name ="ConverterDemo" extends="struts-default">
<action name ="HelloWorld" class="com.wbean.HelloWorld">
<result>/HelloWorld.jsp</result>
</action>
</package>
<package name ="ConverterDemo" extends="struts-default">
<action name ="HelloWorld" class="com.wbean.HelloWorld">
<result>/HelloWorld.jsp</result>
</action>
</package>
相关文章推荐
- Struts2 'redirect-action' 配置错误问题
- Struts2的配置中:Could not find action or result 问题的解决方法
- struts2的配置之could not find action or result 问题的解决方法(struts.xml文件路径)
- 【Struts2文件下载】struts.xml文件中配置action,访问路径问题
- Struts2的配置中:Could not find action or result 问题的解决方
- Struts2的配置中:Could not find action or result 问题的解决方法
- Struts2配置默认action(首页)、配置404防止请求出错问题解决
- Struts2 'redirect-action' 配置错误问题
- struts2中有关action配置问题
- Struts2-Action-8-系列问题(包含模块配置文件、defaultAction)
- MyEclispe配置struts2出现There is no Action mapped for namespace [/] and action name [user_all]...问题处理
- struts2中的默认action配置问题
- struts2的action配置问题
- Struts2的配置中:Could not find action or result 问题的解决方法
- Struts2的配置中:Could not find action or result 问题的解决方法
- Struts2之两个Action传值和不传值的struts.xml文件配置
- 关于在Struts2的action中直接使用response的异步问题
- struts2配置默认Action
- 关于struts2的配置问题说明
- struts2中form提交到action中的中文参数乱码问题解决办法(包括取中文路径)