最近使用structs做一个项目,使用validator框架检查画面输入情况
现在遇到一个问题:
当选择“返回按钮”时,validator检查同样执行。我希望此时不做任何检查,直接跳转画面。jsp:
<html:submit property="method" ><bean:message key="dep.submit"/></html:submit>
<html:submit property="method"><bean:message key="dep.back"/></html:submit>action:
继承LookupDispatchAction
现在遇到一个问题:
当选择“返回按钮”时,validator检查同样执行。我希望此时不做任何检查,直接跳转画面。jsp:
<html:submit property="method" ><bean:message key="dep.submit"/></html:submit>
<html:submit property="method"><bean:message key="dep.back"/></html:submit>action:
继承LookupDispatchAction
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货