From users-return-155002-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Tue Dec 05 07:55:57 2006 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 77364 invoked from network); 5 Dec 2006 07:55:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2006 07:55:56 -0000 Received: (qmail 80565 invoked by uid 500); 5 Dec 2006 07:55:52 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 80361 invoked by uid 500); 5 Dec 2006 07:55:51 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 80350 invoked by uid 99); 5 Dec 2006 07:55:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Dec 2006 23:55:51 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [195.190.166.61] (HELO mail.ticino.com) (195.190.166.61) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Dec 2006 23:55:39 -0800 X-Spam-Score: 0 Received: from [192.168.0.131] (unverified [62.48.115.6]) by mail.ticino.com (Rockliffe SMTPRA 7.0.3) with ESMTP id for ; Tue, 5 Dec 2006 08:55:12 +0100 Message-ID: <4575260F.6060602@montefiore.ch> Date: Tue, 05 Dec 2006 08:55:59 +0100 From: Roberto Marra Organization: Montefiore User-Agent: Mozilla Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: EL not evaluatin in TC 5.5 References: <000101c71822$368b4500$4501a8c0@bigboy> In-Reply-To: <000101c71822$368b4500$4501a8c0@bigboy> Content-Type: multipart/alternative; boundary="------------080605010904070003090403" X-Virus-Checked: Checked by ClamAV on apache.org --------------080605010904070003090403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I usually put under WEB-INF/tld/ all the JSP tag library and under WEB-INF/lib all the *.jar file... even jstl.jar & I never have had problem Ciao Roberto Michael Hencin ha scritto: > I have tomcat 5.5, j2sdk1.4.2_11 on windows xp sp2 > > > > > > I have installed the BIRT viewer web app (from eclips.org) and wanted to > also add JSTL to the jsp pages. I download and installed the jstl.jar and > standard.jar into my webapp WEB-INF/lib. I put the c.tld and some other tld > files into the WEB-INF dir. My jsp does not seem to be evaluating the EL I > have another sample webapp, that I got the simple jsp from, and its > installed in the same TC5.5 and the same jsp evaluates fine. > > > > >From what I have read about installing JSTL, I cannot see why the EL > expressions will not evaluate? > > > > I added a simple jsp as follows into the webapp dir. > > > > <%@ page contentType="text/html" %> > > <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> > > > > > > JSP is Easy > > > > > > > >

JSP is as easy as ...

> > > > <%-- Calculate the sum of 1 + 2 + 3 dynamically --%> > > 1 + 2 + 3 = > > > > > > > > > > The result when I load this jsp is > > > > > > > > JSP is Easy > > > >

JSP is as easy as ...

> > > 1 + 2 + 3 = ${1 + 2 + 3} > > > > > > > My web.xml entries for the tag-lib are as follows; > > > > > > http://java.sun.com/jstl/fmt > > /WEB-INF/fmt.tld > > > > > > > > http://java.sun.com/jstl/fmt-rt > > /WEB-INF/fmt-rt.tld > > > > > > > > http://java.sun.com/jstl/core > > /WEB-INF/c.tld > > > > > > > > http://java.sun.com/jstl/core-rt > > /WEB-INF/c-rt.tld > > > > > > > > http://java.sun.com/jstl/sql > > /WEB-INF/sql.tld > > > > > > > > http://java.sun.com/jstl/sql-rt > > /WEB-INF/sql-rt.tld > > > > > > > > http://java.sun.com/jstl/x > > /WEB-INF/x.tld > > > > > > > > http://java.sun.com/jstl/x-rt > > /WEB-INF/x-rt.tld > > > > > > > > Michael Hencin > > Enginuity Development > > 815-505-5028 > > > > > -- IT Manager MONTEFIORE ---------- Centralino: +41916104455 Diretto : +41916104464 Mobile : +41797000139 www.montefiore.ch --------------080605010904070003090403--