This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LookUpDispatchAction
 
Similar Threads
LookupDispatchAction with link, Please Help Me!!!
Dispatch VS LookupDispatch
Handling Multiple Buttons in Struts
difference between DispatchAction and LookupDispatchAction.
Struts tags not working: html tag & bean tag