Hi,

if you've got only one parameter here's what you should write

<html:link page="/products.do" paramId="id" paramName="product"
paramProperty="product">Product 1</html:link>

for more parameters it rapidly becomes more problematic : you have to pass a
bean which has a map of paramName - value to build the whole link.

Fabrice

> -----Message d'origine-----
> De : Billy Ng [mailto:[EMAIL PROTECTED]]
> Envoyé : mardi 2 juillet 2002 09:56
> À : [EMAIL PROTECTED]
> Objet : query string
>
>
> I try to use the html:link tag
>
> <html:link page="/products.do<%= product.getProductID() %>">Product
> 1</html:link>
>
> to render the link like
>
> <a href="/myWebapp/products.do?id=1">Product 1</a>
>
> However, it becomes
>
> <a href="/myWebapp/products.do?<%= product.getProduct() %>">Product 1</a>
>
> What did I do wrong?  What is the right way to put the query string to
> html:link tag?
>
> Thanks!
>
> Billy Ng
>
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to