On Wed, 2003-03-12 at 09:22, Rick Ashley wrote:
> Hello,
> 
> Are there any way to put query parameters of html:link tag
> to HttpSession object using html tag's attributes?
> Or is it only way to use e.g. session tag library like below
> 
> <html:link>
>   <sess:setAttribute name="param">paramvalue</sess:setAttribute>
> </html:link>

Rick,

It's possible to set one dynamic property using the <html:link> tag:

<html:link paramId="property" paramName="bean" paramProperty="property"
           paramScope="request/session">
   myPage.html
</html:link>

I haven't passed multiple parameters myself, but check out the specs for <html:link>; 
I think you can pass a Map containing the parameters to do so.

http://jakarta.apache.org/struts/api/org/apache/struts/taglib/html/package-summary.html

Becky Norum
[EMAIL PROTECTED]



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

Reply via email to