Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LookUpDispatchAction

 
Aman Sidhu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Yes! Struts
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic