struts2两个input方法的action,出错后总是返回到Input页面的解决方法
2009-11-18 12:11
363 查看
只需要在出错后不返回到input的提交方法上加@InputConfig(methodName = "otherinput")
otherinput既是返回到的页面。
otherinput既是返回到的页面。
相关文章推荐
- ssh 项目中struts2 "input"返回后无法执行Action解决方法
- struts2 Action返回JSP页面CSS和JavaScript失效的解决方法。
- struts2 json 返回出错解决方法
- Struts2 action中一个方法返回多个页面
- jquery ajax 提交struts2 总是返回errror解决方法
- dede采集页面form中name=action 的input跟from 的action冲突解决方法
- struts2中action实现ModelDriven后无法返回json的解决方法
- struts2 提交表单后,不走action中的方法,直接返回input
- struts2 总是返回input视图解决办法
- 关于Struts2使用redirectAction方式在两个Action之间传值时中文乱码问题的解决方法
- 解决struts2 action中double型在页面默认带有小数点的方法
- Struts2 Action中调用get***命名方法,并且返回json,执行出错
- struts2 提交表单后,不走action中的方法,直接返回input
- struts2中action实现ModelDriven后无法返回json的解决方法
- struts2验证失败后返回input,select中list数据丢失解决方法
- Struts2错误:There is no Action mapped for namespace... 解决方法
- 关于Struts2报"No result defined for action +(包名) and result input"的解决方法
- Struts2中,文件下载,XML输出等不需要返回页面的Action返回
- Struts2 get方法传递 中文 到Action乱码解决
- Angular移动端页面input无法输入的解决方法