Struts html:link with LookupDispatchAction
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, August 2, 2005 06:56 AM

Hi,


I need to have a jsp page with 2 tags that calls the same Action but different methods depending on what link is chosen.


I have managed to do this with buttons but its requried to use links.


Any advice what to do?

Re: Struts html:link with LookupDispatchAction

Posted By:   Ash_H  
Posted On:   Tuesday, August 2, 2005 10:32 AM

Try using hidden form element and pass it with the
submission.In the Action execute method, identify which
hidden value should call which method .


Alternatively


Have you used DispatchAction feature.That helps to call various methods from same Action class....


Ash
About | Sitemap | Contact