This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes image and multiple form actions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "image and multiple form actions" Watch "image and multiple form actions" New topic
Author

image and multiple form actions

azhar bharat
Ranch Hand

Joined: Jul 17, 2006
Posts: 87
Hi
I have a search form, which is common input form for 3 different Action classes. I have 3 images instead of submit buttons which needs to submit to the corresponding action class. I can use "onclick" attribute for this. But i want to know if there is anything i can do using "html:image" tag to achieve this without "onclick".

Due to specific requirements i cannot use DispatchAction in the application.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I have not tried this personally, but there is an ImageButtonBean object that you might try using.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: image and multiple form actions