tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gideon, Thomas" <Thomas.Gid...@B2eMarkets.com>
Subject RE: response taglib library / jsp 1.2
Date Wed, 09 Oct 2002 18:50:41 GMT
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.
thomas.gideon@B2eMarkets.com
www.B2eMarkets.com



> -----Original Message-----
> From: Kilian, Rex [mailto:Rex.Kilian@crowncastle.com]
> 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:Thomas.Gideon@B2eMarkets.com]
> 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.
> thomas.gideon@B2eMarkets.com
> www.B2eMarkets.com
> 
> 
> 
> > -----Original Message-----
> > From: Thomas Delnoij [mailto:t.delnoij@imn.nl]
> > Sent: Wednesday, October 09, 2002 5:16 AM
> > To: taglibs-user@jakarta.apache.org
> > 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: t.delnoij@imn.nl
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:taglibs-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:
> <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:taglibs-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:   
> <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:taglibs-user-help@jakarta.apache.org>
> 

--
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