aspose file tools*
The moose likes Struts and the fly likes LookUpDispatchAction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "LookUpDispatchAction" Watch "LookUpDispatchAction" New topic
Author

LookUpDispatchAction

Aman Sidhu
Greenhorn

Joined: Jul 20, 2006
Posts: 2
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

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Aman Sidhu:


I am using DynaActionForm.



Struts?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Aman Sidhu
Greenhorn

Joined: Jul 20, 2006
Posts: 2
Yes! Struts
 
Consider Paul's rocket mass heater.
 
subject: LookUpDispatchAction