Yeah, I think that should clarify to the JSP container what should be parsed
as what.  When you do not use the <jsp:text/> tag, any tags the container
encounters are assumed to be valid XML, which your original example was not,
for the exact reason stated in the error message.

Thomas Gideon
Sr. Software Developer
B2eMarkets

301.230.2236  Tel.
301.230.2248  Fax.
[EMAIL PROTECTED]
www.B2eMarkets.com



> -----Original Message-----
> From: Kilian, Rex [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 12:27 PM
> To: 'Tag Libraries Users List'
> Subject: RE: response taglib library / jsp 1.2
> 
> 
> Would that mean this?
> 
> <jsp:text>&lt;a
> href="<jsp:text/><res:encodeUrl>/keuringsadmin/keuringen_admin
> istratie.jsp</
> res:encodeUrl><jsp:text>"&gt;[somewhere in www]&lt;/a&gt;<jsp:text/>
> 
> -----Original Message-----
> From: Gideon, Thomas [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 12:15 PM
> To: 'Tag Libraries Users List'
> Subject: RE: response taglib library / jsp 1.2
> 
> 
> Did you surround the <a/> tag with a <jsp:text/> tag to let the JSP
> container know this is template text as opposed to JSP tags?
> 
> Thomas Gideon
> Sr. Software Developer
> B2eMarkets
> 
> 301.230.2236  Tel.
> 301.230.2248  Fax.
> [EMAIL PROTECTED]
> www.B2eMarkets.com
> 
> 
> 
> > -----Original Message-----
> > From: Thomas Delnoij [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 09, 2002 5:16 AM
> > To: [EMAIL PROTECTED]
> > Subject: response taglib library / jsp 1.2
> > 
> > 
> > Dear Colleagues,
> > 
> > I would like to use the response taglib library in jsp's 
> > written in xml
> > syntax:
> > 
> > <?xml version = '1.0' encoding = 'windows-1252'?>
> > <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="1.2"
> >           xmlns:res="http://jakarta.apache.org/taglibs/response-1.0";
> >           >
> > 
> > ....
> > 
> > <a
> > href="<res:encodeUrl>/keuringsadmin/keuringen_administratie.js
> > p</res:encodeU
> > rl>" >[somewhere in www]</a>
> > 
> > ....
> > 
> > </jsp:root>
> > 
> > This leads to a compiler error: " '<' cannot appear in 
> > attribute value".
> > 
> > I tried substituting '<' with &lt;.
> > 
> > This leads to an output like :
> > http://[localhost]/keuringsadmin/<res:encodeUrl>/keuringsadmin
> /keuringen_adm
> inistratie.jsp</res:encodeUrl>.
> 
> I am using OC4J on Windows 2000.
> 
> Any suggestions would be much appreciated.
> 
> Thomas Delnoij
> Internet Engineer
> IMN - SSE Baarn
> 
> Mobile: +31 6 144 300 14
> EMail: [EMAIL PROTECTED]
> 
> 
> --
> 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]>
> 
> --
> 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