I have 3 buttons in JSP page(next, previous, save). How can I identify which was clicked and where should that particular identification and associated action be within a Struts application?
Location: http://www.jguru.com/faq/view.jsp?EID=1283284 Created: Feb 10, 2006 Modified: 2006-02-10 13:51:40.708 Author: alan do (http://www.jguru.com/guru/viewbio.jsp?EID=1238284) Question originally posed by Seena Mathew (http://www.jguru.com/guru/viewbio.jsp?EID=1279842 The correct struts approach is to use LookupDispatchAction or MappedDispatchAction, which automatically identify which button was clicked and which dispatch method in the action class to call.
Related Questions
- I have 3 buttons in JSP page(next, previous, save). How can I identify which was clicked and where should that particular identification and associated action be within a Struts application?
- When using the online registration, I clicked the Next button and realized I made an error on the previous page. How can I make corrections?
- Some interactive resources have the Next and Previous buttons hidden. How can I get to the Next page?