> "That's what the standard requires to separate parameters in the href
attribute of an <a> tag."

The ampersand is used to separate parameters, but it's used as "&" rather
than "&amp;", which is used to render an ampersand on-screen.

Mathieu's code seems right to me... Is it a bug (as it seems to be), or has
someone a better understanding of this ?

olivier



----- Original Message -----
From: "Peter Hunter" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 9:46 PM
Subject: Re: html:link inserts an &amp; to separate params


>
> On Friday, January 18, 2002, at 07:34 PM, Mathieu Frenette wrote:
> >
> > Which gets rendered this way:
> >
> > <a href="/myApp/myPage.jsp?staticParam=1&amp;dynamicParam=2">...</a>
> >                                         ^^^^^
> >
> > Is this a bug? or a feature? :-) or a misunderstanding! ;-)
>
> It's a misunderstanding. On your part. That's what the standard requires
> to separate parameters in the href attribute of an <a> tag. If your
> browser doesn't like it, download a better browser.
>
> Cheers,
>
> Peter
>
>
> --
> 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