This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "LookUpDispatchAction" Watch "LookUpDispatchAction" New topic


Aman Sidhu

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"/>
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

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Aman Sidhu:

I am using DynaActionForm.


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

Joined: Jul 20, 2006
Posts: 2
Yes! Struts
I agree. Here's the link:
subject: LookUpDispatchAction
Similar Threads
difference between DispatchAction and LookupDispatchAction.
Handling Multiple Buttons in Struts
Dispatch VS LookupDispatch
LookupDispatchAction with link, Please Help Me!!!
Struts tags not working: html tag & bean tag