struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Ng" <evebi...@hotmail.com>
Subject RE: how to render query string in html:link
Date Fri, 05 Jul 2002 16:57:05 GMT
It is because I need get the parameter data from a bean. I have tried 
something like:

<html:link page="blah.do?param1=<%= bean.getFirstArg() %>&param2=<%= 
bean.getSecondArg() %>"/>

but it won't work.  Some said I need to use the param* attributes.  I know 
it is easy for 1 parameter, but I don't know how to use it with multiple 
parameters.

Billy Ng

>From: "Kamholz, Keith   (corp-staff) USX" <kkamholz@moog.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: 'Struts Users Mailing List' <struts-user@jakarta.apache.org>
>Subject: RE: how to render query string in html:link
>Date: Fri, 5 Jul 2002 12:41:54 -0400
>
>Hey,
>Why don't you just use the regular html synatx?
><html:link page="blah.do?param1=first&param2=second"/>
>
>~ Keith
>http://www.buffalo.edu/~kkamholz
>
>
>
>-----Original Message-----
>From: Billy Ng [mailto:evebill8@hotmail.com]
>Sent: Friday, July 05, 2002 12:36 PM
>To: struts-user@jakarta.apache.org
>Subject: how to render query string in html:link
>
>
>Hi folks,
>
>Would anybody please provide me some sample code for how to make a link 
>with
>
>multiple parameters in the href's url with using <html:link> tag.
>
>Thanks in advance!
>
>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>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>




_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.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