wood burning stoves 2.0*
The moose likes Struts and the fly likes handle many actions from one jsp page in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "handle many actions from one jsp page in struts" Watch "handle many actions from one jsp page in struts" New topic
Author

handle many actions from one jsp page in struts

manoj samarasinghe
Greenhorn

Joined: Nov 17, 2004
Posts: 16
hi

Can we handle more than one action from single jsp page ?
if possible how.

thanks.


manojmanoj
Amith Mahalingaiah
Greenhorn

Joined: Jul 12, 2004
Posts: 7
yes you can.

you can do with the help of DispatchAction or LookupDispatchAction built-in classes provided by struts.
John Smith
Ranch Hand

Joined: Sep 02, 2004
Posts: 61
as previously mention LookupDispatchAction is your friend or another method used is by changing the form submit target with javascript depending on where you want the data to be sent
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: handle many actions from one jsp page in struts
 
Similar Threads
passing parameters
interview question
Question on Statefull Session Bean
Struts-Design Problem
can struts handle multiple form in one page?