• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

LookUpDispatchAction

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a jsp page in which I have 2 buttons

<html:submit property="method">
<bean:message key="quickSurvey.update"/>
</html:submit >
<br />
<html:submit property="method">
<bean:message key="quickSurvey.reset"/>
</html:submit>
withnin a from.

I am using dispatch action, the only thing i want is that when the second submit buttong is hit, it should also clear all the values in jsp page.

If iu use html:reset it resets the values but does not go to reset method in action.

I am using DynaActionForm.

Any help will be appreciated:)
Have a great day.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Aman Sidhu:


I am using DynaActionForm.



Struts?
 
Aman Sidhu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes! Struts
reply
    Bookmark Topic Watch Topic
  • New Topic