Web tier: servlets, JSP, Web frameworks: Struts Validation Bypass when using LookUpDispatch Action
Hi, In Struts, when I use LookUpDispatch action, I needs to bypass Validation frame work for certain functions i.e. I need validation to be performed on ADD/UPDATE function, when user selects View, Validations needs to bypassed. These function reside on the same UI. Kindly advice me on the processes to achive this. Thanks in Advance. Dinesh
- Posted by: Dinesh Vijay
- Posted on: August 16 2008 10:53 EDT
- Re: Struts Validation Bypass when using LookUpDispatch Action by Muthu Kumar on August 19 2008 00:12 EDT
- Re: Struts Validation Bypass when using LookUpDispatch Action by Dinesh Vijay on August 19 2008 13:22 EDT
Hi, I think, the following url, it will help you, http://www.roseindia.net/struts/struts-MappingDispatchAction.shtml
Thanks, in this case I've change from LookUpDispatchAction to MapDispatchAction, than by setting validate to "false" in the mapping file, I can achieve my requirement.