Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
Posted

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?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123