struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From otisg <ot...@ureach.com>
Subject Re: Re: html:link with multiple name/value parameters?
Date Fri, 11 Apr 2003 19:49:53 GMT
Something a la:
<c:url var="url" value="/app/Foo">
  <c:param name="a" value="AA"/>
  <c:param name="b" value="BB"/>
  <c:param name="c" value="CC"/>
</c:url>

?

Can I just load JSTL TLDs from Struts config file and hope that
things work the way that various Struts taglibs do?

Thank you,
Otis



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


---- On Fri, 11 Apr 2003, David Graham (dgraham1980@hotmail.com)
wrote:

> You have to use a map for multiple attributes.  The JSTL's
<c:url> tag 
> handles this much nicer with sub tags for each attribute.
> 
> David
> 
> 
> 
> >From: otisg  <otisg@ureach.com>
> >Reply-To: <otisg@ureach.com>
> >To: struts-user@jakarta.apache.org
> >Subject: html:link with multiple name/value parameters?
> >Date: Fri, 11 Apr 2003 15:33:06 -0400
> >
> >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
> >
> 
> 
>
_________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 
> 
>
---------------------------------------------------------------------
> 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


Mime
View raw message