I'm developing web application using jsp, struts, and hibernate. My jsp page having three buttons(add,edit,delete). I want to check which button clicked and get the button name or value to action class. I tried several ways but faild. I'm new to this area and still cannot find the answer. This is my jsp page(test.jsp)
Use DispatchAction or LookUpDispatchAction(with this you can use only multiple buttons which has business logic in the same class).. if you still want to use image buttons use EventDispatchAction..
I gues this is what you have asked.. if this is not you have asked show your struts-config.xml...