自己打算弄个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