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.