struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Ng" <evebi...@hotmail.com>
Subject query string
Date Tue, 02 Jul 2002 07:55:48 GMT
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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message