首先确定问题应该是在action的namespace属性配置出了问题,因为不同result对应的资源文件是以这个namespace为前提的,所以,可以将namespace的值设置为“/”,表示当前项目的根目录,问题就解决了。
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd">
<struts>
<package name="test" namespace="/" extends="struts-default">
<action name="test" class="org.wei.web.action.TestAction">
<result name="success">/index.jsp</result>
</action>
</package>
</struts>
BY:http://blog.163.com/xiaohui_1123@126/blog/static/398052402011284153685/
分享到:
相关推荐
### Struts2框架中“No result defined for action and result input”错误解析及解决方法 #### 错误概述 在Struts2框架中开发Web应用程序时,可能会遇到一个名为“No result defined for action and result input...
在IT领域,尤其是在Web开发中,遇到“No result defined for action”这类错误是常见的问题,尤其当使用Struts2框架时更为突出。此类错误通常指向在控制器(Action)中未正确配置或实现结果集(Result),导致请求...
No result defined for action ***Action and result success **问题描述**: 当执行某个Action后,出现“没有定义success结果”的错误。 **解决方法**: 这意味着在`struts.xml`中未正确配置`success`结果。为了...
RF and Digital Signal Processing for Software-Defined Radio: A Multi-Standard Multi-Mode Approach by Tony J. Rouphael RF and Digital Signal Processing for Software-Defined Radio: A Multi-...
No result defined for action cn.itcast.user.web.action.UserAction and result error ``` 此异常表明在`struts.xml`中没有为指定的动作定义结果。例如,如果期望动作在发生错误时转向特定的JSP页面,但配置文件...
to present signal processing principles used in the software defined radio, ranging from analog ,digital modulation to RF, DSP and data conversion.
错误信息:“There is no result type defined for type 'json' mapped with name 'success'”。这意味着在`struts.xml`文件中没有正确定义JSON类型的处理结果。需要检查配置文件中的定义是否正确。 以上内容涵盖...
命令行:raw Send a RAW IPMI request and print responsei2c Send an I2C Master Write-Read command and print responselan Configure LAN Channelschassis Get chassis status and set...
### "Value too large for defined data type" 解决办法 在Linux环境下进行文件操作时,可能会遇到一个名为“Value too large for defined data type”的错误。这一问题通常发生在使用`ls`或`find`命令来查看大于2...
Zabbix 新版微信告警配置攻略,肯定是你需要的,有故障即时通知
struts1.3.9 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the ...
and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal ...
网上的东西好大多都不能直接用,自己结合网上资料做了一个Struts2+Spring3+MyBatis3的测试工程,JUnit测试用例和WEB服务。 内涵完整jar包,解压直接可用,包括一个表文件。 Eclipse3.2+Tomcat/5.5+jdk1.5.0_17 - ...
但是,在使用Pycharm进行开发工作时,可能会遇到一个问题,即工具栏右下角出现“No R interpreter defined”的提示。这个提示通常发生在开发者尝试在Pycharm中配置或使用R语言解释器时。为了解决这个问题,我们需要...
中文译名《软件无线电中的射频与数字信号处理》,不可多得的一部实用的软件无线电著作,可以当作手册,供工程人员参考借鉴。
Models for Probability and Statistical Inference was written over a five-year period and serves as a comprehensive treatment of the fundamentals of probability and statistical inference. With detailed...
Learn to:Control storage costs,Eliminate storage bottlenecks,Use IBM GPFS to solve storage management challenges
全书共476页,全面介绍了认知无线电(Cognitive Radio, CR)、软件定义无线电(Software Defined Radio, SDR)以及自适应无线系统的理论基础和技术应用。 #### 二、认知无线电的基本概念与架构 本书第一章由Bruce ...