You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by otisg <ot...@ureach.com> on 2003/04/11 21:33:06 UTC

html:link with multiple name/value parameters?

Hello,

I am porting a home-grown web app to run on top of Struts.
We are using html and other taglibs and I am having trouble a
JSP that has a link with a number of parameters in the URL to
work using <html:link ....></html:link>.
I'm reading
http://jakarta.apache.org/struts/userGuide/struts-html.html#link
, but there is no mention of how to use it when  _multiple_ URL
parameters need to be specified.

For instance, if I have a link:
<a href="/app/Foo?a=AA&b=BB&c=CC">AABBCC</a>

How could I write that using <html:link> tag?

Unfortunately a -> AA, b -> BB, and c -> CC are _not_ stored in
a Map, so I can't make use of 'name' and 'property' attributes.

Thank you,
Otis


________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: html:link with multiple name/value parameters?

Posted by Ian Hunter <ih...@hunterweb.net>.
http://jakarta.apache.org/struts/api/org/apache/struts/taglib/html/package-s
ummary.html

Search for "map"

----- Original Message -----
From: "otisg" <ot...@ureach.com>
To: <st...@jakarta.apache.org>
Sent: Friday, April 11, 2003 3:33 PM
Subject: html:link with multiple name/value parameters?


> Hello,
>
> I am porting a home-grown web app to run on top of Struts.
> We are using html and other taglibs and I am having trouble a
> JSP that has a link with a number of parameters in the URL to
> work using <html:link ....></html:link>.
> I'm reading
> http://jakarta.apache.org/struts/userGuide/struts-html.html#link
> , but there is no mention of how to use it when  _multiple_ URL
> parameters need to be specified.
>
> For instance, if I have a link:
> <a href="/app/Foo?a=AA&b=BB&c=CC">AABBCC</a>
>
> How could I write that using <html:link> tag?
>
> Unfortunately a -> AA, b -> BB, and c -> CC are _not_ stored in
> a Map, so I can't make use of 'name' and 'property' attributes.
>
> Thank you,
> Otis
>
>
> ________________________________________________
> Get your own "800" number
> Voicemail, fax, email, and a lot more
> http://www.ureach.com/reg/tag
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org