AW: AW: Usin JSTL from jakarta with tomcat and the new web.xml descriptors
"Martin Kindler" <[email protected]>
| Newsgroups | gmane.comp.jakarta.taglibs.user |
|---|---|
| Message-ID | <005601c70cbe$7c0bb4d0$6964a8c0@ROTHKO> |
It is no longer necessary to copy the tlds to WEB-INF/<something>. They are contained in standard.jar (in the META-INF dir) and will be found, if you use the http://java.sun.com/jsp/jstl/<core|...|...> uris in your jsps. Martin > -----Ursprüngliche Nachricht----- > Von: Rashmi Rubdi [mailto:[email protected]] > Gesendet: Montag, 20. November 2006 17:00 > An: Tag Libraries Users List > Betreff: Re: AW: Usin JSTL from jakarta with tomcat and the > new web.xml descriptors > > > Here are some more details serializer.jar > > /WEB-INF/tld/ > c.tld > fmt.tld > fn.tld > sql.tld > x.tld This is no longer necessary. The tlds are in the META-INF of standard.jar. > > ----- Original Message ---- > From: Martin Kindler <[email protected]> > To: Tag Libraries Users List <[email protected]> > Sent: Monday, November 20, 2006 10:38:31 AM > Subject: AW: Usin JSTL from jakarta with tomcat and the new > web.xml descriptors > > > Alexander, > > if you are using an up-to-date container (Tomcat 5.x) there > is nearly nothing you have to configure: 1. include > standard.jar and jstl.jar to your WEB-INF/lib directory. 2. > Address the taglibs on your jsps using the "official" URI, e. > g. http://java.sun.com/jsp/jstl/core for the core taglib > > Thats it. You no longer need to configure web.xml. > > Martin > > > -----Urspr?ngliche Nachricht----- > > Von: Alexander Shopov [mailto:[email protected]] > > Gesendet: Montag, 20. November 2006 16:22 > > An: Tag Libraries Users List > > Betreff: Re: Usin JSTL from jakarta with tomcat and the new > > web.xml descriptors > > > > > > Rashmi Rubdi написа: > > > Hi al_shopov, > > > > > > What problem are you facing, are you getting an error > message or do > > > you need examples of how to use JSTL XML tags? > > The first problem is that I do not know how to install the > > libs - i.e. I > > am not sure after reading the installation docs at this page: > > http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html > > how to proceed: - how do I refer the tag libraries in XML JSP pages? > > > > What I have done is: > > 1. Downloaded the binary distro of Standard Taglib version > > 1.1.2 2. Unpacked it 3. Copied all tld files from the > > jakarta-taglibs-standard-1.1.2/tld/ > > library to WEB-INF directory of the application > > 4. Copied jstl.jar standard.jar to WEB-INF/lib > > 5. Opened the web.xml file just to find that there is no <taglib> > > element since it uses the > > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd schema. (So > > there is no > > need to declare taglibs in web.xml anymore probably?) > > 6. I don't know how to declare the used tag libraries in the > > XML JSP's > > in order to use them (which is my problem actually) > > I presume that they should most probably be declared in the > jsp:root > > element of the jspx file like this: > > > > <jsp:root > > xmlns:jsp="http://java.sun.com/JSP/Page"; > > xmlns:myprefix="URI_to_somewhere" > > version="1.2"> > > </jsp:root> > > > > What should be the URI then? > > > > Kind regards: > > al_shopov > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: > [email protected] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > ______________________________________________________________ > ______________________ > Sponsored Link > > Mortgage rates near 39yr lows. > $510k for $1,698/mo. Calculate new payment! > www.LowerMyBills.com/lre > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >