aspose file tools*
The moose likes Struts and the fly likes validatation should not work for some actions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validatation should not work for some actions" Watch "validatation should not work for some actions" New topic
Author

validatation should not work for some actions

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

Hi,

I am using "required" in validation.xml for my jSP, where I have 3 buttons(say..Next, Cancel, Back). The problem here is when I click on next button my validation rule "required" must be fired. But when I click on back button I do not want my validation to fire. Still it fires since I have used the html:form action name in validation.xml.

I can solve this problem my using java script but I do not know how to solve this problem without using JS. Can anyone tell me.

Regards,
Rahul.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validatation should not work for some actions