so much , all to  generate a stupid link. 

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Friday, July 29, 2005 3:19 PM
To: user@struts.apache.org
Subject: Re: Composing a link

N G wrote:
> <html:link> only allows 1 map and 1 param-value pair. However, I need 
> to add 2 params besides the map.
> 
> Adding this param to the map is not an option, I don't think. I 
> generate my map inside the form bean. The data for the 2 extra params 
> is not available in the form and is only available on the page.
> 
> How do I do this? I have the option of using JSTL, but I am not sure 
> how to do this in JSTL either.

You can always push the extra 2 params into the map in the JSP. If that wont
work for you, you could try including them explicitly in the <html:link>'s
action attribute, like

   <html:link action="/myaction.do?param1=${expr1}&param2=${expr2}" ...

L.

--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie


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


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

Reply via email to