异常:
Disabling the response for futher output
2009-05-15 13:49:56,609 DEBUG [org.apache.catalina.core.ApplicationDispatcher] - The Response is vehiculed using a wrapper: com.opensymphony.module.sitemesh.filter.PageResponseWrapper
2009-05-15 13:50:07,093 WARN [com.opensymphony.xwork.DefaultActionInvocation] - No result defined for action com.ytx.ztc.action.BetbrainAdminHalfFullAction and result input
检查半天,才发现原来在页面录入时,输入的类型与model中类型不匹配或者是不能自动转换类型所致。
本人的录入页面部分代码:
<th height="28" align="right"> 公司Id: </th>
<td height="28" align="left"><label>
<input id="companyId" type="text" name="companyId"
value="<ww:property value='model.companyId'/>"
msg="[公司ID] 必须是数值!"
min="1"
max="9"size="10" />
</label>
</td>
此 companyId 所对应的model 为:
private Integer companyId;
至此,才发现每次前台页面输入的companyId 不是数值型时,即发生此异常。
但是为什么不抛出其他的具体的异常呢?
是拦截器封装了?