Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Html Link Multiple parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Html Link Multiple parameters" Watch "Html Link Multiple parameters" New topic
Author

Html Link Multiple parameters

Patrick McDonogh
Ranch Hand

Joined: Oct 13, 2005
Posts: 89
Hi all,

I am using a <html:link> tag and am wondering how to add multiple parameters to the request.

For instance i can add one parameter using paramId and paramName i.e.

<html:link action="/theAction" paramId="id" paramName="theId"/>

What my question is is how do i add multiple parameters to the html link tag.

Cheers and have a great day.

Patrick
RoshaniG Gopal
Ranch Hand

Joined: May 15, 2006
Posts: 180
Hi
this would help you.
http://www.jguru.com/faq/view.jsp?EID=877089


Regards,<br />Roshani
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
If you're using the latest version of Struts 1 (Struts 1.3.8) you can embed multiple <html:param> tags inside your <html:link> stanza.

If you're using an earlier version, you will have to use the method suggested in Roshani's link.
[ May 09, 2007: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Html Link Multiple parameters