aspose file tools*
The moose likes Struts and the fly likes How to Skip automatic struts validation if more than 1 submit button present? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to Skip automatic struts validation if more than 1 submit button present?" Watch "How to Skip automatic struts validation if more than 1 submit button present?" New topic
Author

How to Skip automatic struts validation if more than 1 submit button present?

Prasanth Pillai
Ranch Hand

Joined: Oct 16, 2006
Posts: 52
hi,

I have more than one submit button in my form (say submit & Logoff). I have implemented struts automatic validation in the JSP screen. But I want to skip the validation if I click Logoff button. How will I do that?
Prasanth Pillai
Ranch Hand

Joined: Oct 16, 2006
Posts: 52
I got the resolution.
we can use <html:clear> or <html:cancel> for those buttons.
Prasanth Pillai
Ranch Hand

Joined: Oct 16, 2006
Posts: 52
we may use <html:reset> as well.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Skip automatic struts validation if more than 1 submit button present?