no result type defined for type 'dispatch'mapped

自己打算弄个webwork测试问题时候,遇到个脑瘫的问题,配了xwork之后,死活找不到action,报There is no result type defined for

type 'dispatcher' mapped with name 'success' 的错误,找了半天,发现需要在xwork配置文件中加入:

<include file="webwork-default.xml"/> 

<package name="helloWorld" extends="webwork-default">
时间: 2024-08-07 04:13:43

no result type defined for type 'dispatch'mapped的相关文章

System.InvalidOperationException: The type MyContext+Northwind was not mapped.

System.InvalidOperationException: The type MyContext+Northwind was not mapped. Check that the type has not been explicitly excluded by using the Ignore method or NotMappedAttribute data annotation. Verify that the type was defined as a class, is not

delphi could not convert variant of type (null) into type (olestr)

问题描述 delphi could not convert variant of type (null) into type (olestr) procedure TForm3.DBEdit1Change(Sender: TObject); //onchange事件 var i:integer; s:string; xcom:tcomponent; begin for i := 2 to 20 do begin s:='edit'+inttostr(i); xcom:=findcomponent

struts2 &amp;amp;lt;result name=“&amp;amp;quot; type=&amp;amp;quot;json&amp;amp;quot;&amp;amp;gt;问题

问题描述 <result name="homePageTable" type="json"></result>发现在项目中没有引用struts2-Json-plugin的jar包然后struts2中有get 方法的都能获取然后使用了如下的方法<result name="homePageTable" type="json"> <param name="includeProper

PostgreSQL alter column type 1 to type 2 using express or auto cast

在使用数据库时,有些应用开发人员可能喜欢使用数值来表示布尔逻辑值,或者在最初定义一个字段的状态时使用的类型,将来不能表达所有的值.未来则可能需要对字段进行转换,例如数值转换为布尔,或者布尔转换为数值.还有的时候,一开始可能使用了大量的重复文本,在进行统计时,文本比整型的效率低,在进入仓库后可能需要字典化这些文本(例如APPNAME) , 也会涉及字段类型的转换.例子: postgres=# create table tbl(id int, stat numeric(1)); CREATE TAB

Golang中对interface{}做type assertion和type switch学习笔记

interface{}是一个通用类型,可以储存任意类型的值.如下方法来获取值的实际类型: 如果你比较确定类型可以使用type assertion: var num interface{} = 100 if val,ok := num.(int); ok {     fmt.Println(val) } 如果你不确定interface{}的具体类型,使用type switch: var str interface{} = "abc"   switch v := str.(type) {

Cisco ospf type和network type

本文主要讲述了路由器OSPF的metrics类型和OSPF的机制和做为链路状态协议的特点和几种LSA的作用.有助于OSPF的深入理解.下面文章将给予介绍.IA - OSPF inter areaN1 - OSPF NSSA external type 1N2 - OSPF NSSA external type 2E1 - OSPF external type 1E2 - OSPF external type 2ospf有两种metrics值:type1 和 type 2type 1 metric

递归-Lintcode name &amp;amp;#39;Solution&amp;amp;#39; is not defined EXITCODE=1

问题描述 Lintcode name 'Solution' is not defined EXITCODE=1 题目是写一个用递归找到从1到N位的最大数字 比如N=2 返回[12....99].下面是我写的代码,逻辑结果我认为是正确的,但是提交时返回: File ""Main.py"" line 7 in solution = Solution() NameError: name 'Solution' is not defined EXITCODE=1.这跟我的程序

spring mvc与struts 整合报错

问题描述 spring mvc与struts 整合报错 报错如下求帮忙,谢谢严重: Exception starting filter struts2Unable to load configuration. - action - file:/E:/java/eclipse/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/bishe/WEB-INF/classes/struts.xml:11:74 at org.apa

struts2-org.apache.catalina.core.StandardContext filterStart

问题描述 org.apache.catalina.core.StandardContext filterStart 2014-3-28 21:20:53 org.apache.catalina.core.AprLifecycleListener init 信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java