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 I want to add the two submit button in the same form? 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 "I want to add the two submit button in the same form?" Watch "I want to add the two submit button in the same form?" New topic
Author

I want to add the two submit button in the same form?

deepthi malladi
Greenhorn

Joined: Apr 22, 2010
Posts: 7
I am doing project on java.
How could i add the two submit buttons in the same form of jsp--struts?
I want to call the two actions with two submit buttons.
Please provide how write to code in the jsp for writing two submit buttons.
?
Thanks.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

If you're going with the Struts 1, the DispatchAction will help:
http://www.vaannila.com/struts/struts-example/struts-dispatch-action-example-1.html


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I want to add the two submit button in the same form?
 
Similar Threads
cancel button issue
html:link and LookupDispatchAction
multiple submit buttons and jsp
JSP page with buttons
Form Tokens