This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Thank you for reading my post Hi how i can use an Struts Image as a button to call some action ? I have two action wich i should decide about them on user click . e.g : a login form with a register and logIn button . i want to use image as buttons what is solution pleas.
See here. That shows you how to set up a form to use ImageButtonBeans. Then use a DispatchAction to dispatch on the property of your form which determines which button was pushed. So if you follow the example and have a getSelected() method for instance, then you can have your DispatchAction specify parameter="selected" in your <action-mapping> element.
Something must be done about this. Let's start by reading this tiny ad: