• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Html Link Multiple parameters

 
Patrick McDonogh
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
this would help you.
http://www.jguru.com/faq/view.jsp?EID=877089
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic