Discussions
Web tier: servlets, JSP, Web frameworks: Struts Validation Bypass when using LookUpDispatch Action
-
Struts Validation Bypass when using LookUpDispatch Action (2 messages)
- Posted by: Dinesh Vijay
- Posted on: August 16 2008 10:53 EDT
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. DineshThreaded Messages (2)
- 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
-
Re: Struts Validation Bypass when using LookUpDispatch Action[ Go to top ]
- Posted by: Muthu Kumar
- Posted on: August 19 2008 00:12 EDT
- in response to Dinesh Vijay
Hi, I think, the following url, it will help you, http://www.roseindia.net/struts/struts-MappingDispatchAction.shtml -
Re: Struts Validation Bypass when using LookUpDispatch Action[ Go to top ]
- Posted by: Dinesh Vijay
- Posted on: August 19 2008 13:22 EDT
- in response to Muthu Kumar
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.