How to call a action class on a click of an hyperlink..?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Padmanabh_Murthy
Posted On:   Monday, January 13, 2003 10:35 PM

hello
Can anybody solve my problem i'll be really grateful to you all.

i have developed an application using struts.
till now i have called the action class on the click of the submit button but i want to know how can i call call an action class on click of an hyperlink.

if possible suggest me with a sample code.

Re: How to call a action class on a click of an hyperlink..?

Posted By:   Aad_Nales  
Posted On:   Tuesday, January 14, 2003 12:03 AM

Sure you can, just if your action is called


etc.
etc.
/>


Then you create a html:link with a reference to


/here/is/where/iProcessMyClick.do?parameter=value;p2=v2;petc=etc



struts maps this on the action that you created and your hyperlink should work like a charm.


Cheers,

Aad

About | Sitemap | Contact