Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes One Action for more than one Hyperlink Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "One Action for more than one Hyperlink" Watch "One Action for more than one Hyperlink" New topic
Author

One Action for more than one Hyperlink

kumar Sunil
Greenhorn

Joined: Jun 07, 2006
Posts: 2
I want to create a JSP page with menus which enables navigation to other jsp pages in struts.My problem is that i want to write a single action class where i want to excute coresponding to code to the link clicked.
Can any one give some insight on this.
vidya sagar
Ranch Hand

Joined: Mar 02, 2005
Posts: 580
Go for dispatchAction in struts
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: One Action for more than one Hyperlink
 
Similar Threads
Trigger action on combo change
Struts-config.xml
why i cannot get request object in Action class from jsp
How to pass java object b/w two actions
One Action for more than one Hyperlink