tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Barroso <est-c-barr...@ptinovacao.pt>
Subject RE: How to get a <xtags:valueOf.../> value
Date Wed, 21 Aug 2002 13:10:52 GMT
But I have a problem. I'm using Tomcat 3.2.2 which is JSP 1.1 compliant
and I can't change it. I had this problem when I first started with JSTL.
To me JSTL is far better than xtags but with the limitation of having Tomcat
3.2.2, 
I went on using xtags.
Can I do what I want using only xtags?




-----Original Message-----
From: Shawn Bayern [mailto:bayern@essentially.net]
Sent: quarta-feira, 21 de Agosto de 2002 14:06
To: Tag Libraries Users List
Subject: RE: How to get a <xtags:valueOf.../> value


On Wed, 21 Aug 2002, Carlos Barroso wrote:

> Thanks very much for the help. Where can i get JSTL to work with xtags?

You can download our JSTL implementation from

  http://jakarta.apache.org/builds/jakarta-taglibs/releases/standard/

Then, once you follow the instructions in the package to install JSTL into
your web application, simply include

 <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

at the top of your page in addition to the XTags <%@ taglib %>
declaration.  Once you do that, you'll be able to use the syntax I
suggested.

Note that JSTL provides an XML-manipulation tag library; you might
consider using that instead of XTags.  (Note that JSTL requires a JSP 1.2
container, while XTags continues to run successfully on the old JSP 1.1.)
One advantage of switching to JSTL is that you can be sure the tags are
supported on every container, and individual containers can recognize the
tags and optimize their implementations.

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com


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