File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 JavaScript Promises Essentials this week in the JavaScript 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
 
 
subject: handle many actions from one jsp page in struts