This is the place I record down all my experiences in using Struts 2
- To bypass the validation when submitting the actions:
- Put onclick="form.onsubmit=null" on the s:submit tag
- In the struts-core.jar, change the struts-default.xml. Inside this file, it defines "input","browse","cancel","back" as excluded methods during validation. You can add in more as a customization for struts 2 framework.
0 comments:
Post a Comment