tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james_strac...@yahoo.co.uk>
Subject Re: Antwort: xsl taglibs problem with anchor element
Date Fri, 07 Dec 2001 09:27:26 GMT
Use &amp; instead of &.

If you're mail reader cannot read the above properly and they both look like
'&' then here's another attempt.

Add the string "amp;" after all ampersand & characters in your URL.

Learn the escaping rules in HTML & XML, special characters like < > & ' must
be escaped.

James
----- Original Message -----
From: <andcerve@libero.it>
To: <taglibs-user@jakarta.apache.org>
Sent: Friday, December 07, 2001 9:17 AM
Subject: Re: Antwort: xsl taglibs problem with anchor element


>
> > Hi,
> >
> > try to replace the & with & in the link ->
> > <a href="myjsp.jsp?param1=1&param2=2">mylink</a>
>
> Sorry but I did not understand what I should modify, this is exactly
> what I've used and it doesn't work.
> Which character should I put instead of & and where?
>
> Thanks again
>
>
> >
> > Regards -- Tobias
> >
> >
> >
> >
> > "andcerve@libero.it" <andcerve
> > 05.12.2001 08:41
> > Bitte antworten an "Tag Libraries Users List"
> >
> >
> >         An:     taglibs-user@jakarta.apache.org
> >         Kopie:
> >         Thema:  xsl taglibs problem with anchor element
> >
> > Hi,
> >
> >          is there anyone who has tested the xsl tag library of the
> > Jakarta
> >          project?
> >
> >          Here is my problem.
> >
> >          In my xsl file I have an anchor element that referes to a jsp
> > with 2
> >          parameters:
> >
> >          <a href="myjsp.jsp?param1=1&param2=2">mylink</a>
> >
> >          When I run the jsp which has this anchor element in the xsl
> > file used
> >          as xsl attribute of the tag library an exception occurs with
> > this
> >          message: the entity param2 must end with the ";" delimitator.
> >
> >          I tried to put the ";" at the end like this:
> >
> >          <a href="myjsp.jsp?param1=1&param2=2;">mylink</a>
> >
> >          but the same exception occured.
> >
> >          The same anchor element in a normal HTML page perfectly
> works.
> >
> >          I tried the anchor element with only one parameter in the xsl
> > tag
> >          library and it works!
> >
> >          It seems it is a problem only with more than one parameter.
> >
> >          Any idea?
> >
> >          Thanks in advance
> >
> >


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message