自己打算弄个webwork测试问题时候,遇到个脑瘫的问题,配了xwork之后,死活找不到action,报There is no result type defined for
type 'dispatcher' mapped with name 'success' 的错误,找了半天,发现需要在xwork配置文件中加入:
type 'dispatcher' mapped with name 'success' 的错误,找了半天,发现需要在xwork配置文件中加入:
<include file="webwork-default.xml"/>
<package name="helloWorld" extends="webwork-default">
本文解决了在配置WebWork框架时遇到的找不到Action的问题。通过在xwork配置文件中引入webwork-default.xml并定义包名helloWorld,成功解决了There is no result type defined for type 'dispatcher' mapped with name 'success'的错误。
2283

被折叠的 条评论
为什么被折叠?



