• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Prasanth Pillai
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got the resolution.
we can use <html:clear> or <html:cancel> for those buttons.
 
Prasanth Pillai
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we may use <html:reset> as well.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic