Re: Tomcat and JSTL

2007-09-22 Thread David Smith
Just as a thought, did you declare version 2.4 in your web.xml? I think that's required to get stuff like the expression language to be recognized. --David John Langan wrote: I am having difficulty in getting Tomcat to understand JSTL tags and the JSP Expression Language. As a result

Tomcat and JSTL

2007-09-21 Thread John Langan
I am having difficulty in getting Tomcat to understand JSTL tags and the JSP Expression Language. As a result ${expression} is just displayed as is on the web page and not the result of evaluating the expression. Setting variables using JSTL tags also does not work. In Manager.java class

RE: Tomcat and JSTL

2007-09-21 Thread Caldarale, Charles R
From: John Langan [mailto:[EMAIL PROTECTED] Subject: Tomcat and JSTL I am having difficulty in getting Tomcat to understand JSTL tags and the JSP Expression Language. Do the JSTL examples that come with Tomcat work? I have standard.jar and jstl.jar files in C:\apache-tomcat-5.5.25

Re: Tomcat and JSTL -- Generalized Question

2007-09-21 Thread Ken Bowen
Does there exist an organized run-down on which jars should be placed in common/lib (e.g., database connectors) and which jars should be placed in WEB-INF/lib (e.g. jstl.jar)? Thanks, Ken Bowen Caldarale, Charles R wrote: From: John Langan [mailto:[EMAIL PROTECTED] Subject: Tomcat and JSTL

RE: Tomcat and JSTL -- Generalized Question

2007-09-21 Thread Caldarale, Charles R
From: Ken Bowen [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat and JSTL -- Generalized Question Does there exist an organized run-down on which jars should be placed in common/lib (e.g., database connectors) and which jars should be placed in WEB-INF/lib (e.g. jstl.jar)? Try

Tomcat 6 + Jstl

2007-05-30 Thread Manca Davide
I don't understand the reason I'm getting these 2 errrors. org.apache.jasper.JasperException: h3Validation error messages from TagLibraryValidator for c in /cgi/cocktails/browse/listing.cgi/h3p9: tag = 'if' / attribute = 'test': An error occurred while parsing custom action attribute test with

Re: Tomcat 6 + Jstl

2007-05-30 Thread David Smith
Try this instead: ${(sreq.vrs eq 0) and (empty sreq.query) and (empty sreq.ilettera)} Your use of the el expressions needs some refinement. Specifically you don't call methods like you would in a jsp:expression tag or in generic java. someBean.getSomething() is replaced with

Re: Tomcat 6 + Jstl

2007-05-30 Thread David Smith
Ooops... didn't see the second expression in that error report: ${((sreq.vrs eq 0) and (status.index gt 0)) or (sreq.vrs gt 0) or (not empty sreq.query ) or (not empty sreq.ilettera)} Keep in mind, the operators '', '||', '==' and '' are valid and you are certainly welcome to keep them. I

Re: Tomcat 6 + Jstl

2007-05-30 Thread Pid
David Smith wrote: Try this instead: ${(sreq.vrs eq 0) and (empty sreq.query) and (empty sreq.ilettera)} Assuming that 'sreq' is a valid object... Your use of the el expressions needs some refinement. Specifically you don't call methods like you would in a jsp:expression tag or in generic

Tomcat and JSTL 1.2

2007-01-09 Thread ben short
Hi all, Im trying to use jstl 1.2 with tomcat 5.5.20 and java 1.5.0_05-b05. My webapp deploys ok but when I browse to it I get the following exception. xception org.apache.jasper.JasperException: Unable to read TLD META-INF/c.tld from JAR file file:/opt/apache-tomcat-5.5.20/webapps/basket

RE: Tomcat and JSTL 1.2

2007-01-09 Thread Derrick Koes
Subject: Tomcat and JSTL 1.2 Hi all, Im trying to use jstl 1.2 with tomcat 5.5.20 and java 1.5.0_05-b05. My webapp deploys ok but when I browse to it I get the following exception. xception org.apache.jasper.JasperException: Unable to read TLD META-INF/c.tld from JAR file file:/opt/apache

Re: Tomcat and JSTL 1.2

2007-01-09 Thread ben short
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben short Sent: Tuesday, January 09, 2007 12:08 PM To: Tomcat Users List Subject: Tomcat and JSTL 1.2 Hi all, Im trying to use jstl 1.2 with tomcat 5.5.20 and java 1.5.0_05-b05. My webapp deploys ok but when I browse to it I get

Re: Tomcat and JSTL 1.2

2007-01-09 Thread Tim Funk
Looks like you are missing the JSTL jar files whihc need to be in WEB-INF/lib -Tim ben short wrote: Hi all, Im trying to use jstl 1.2 with tomcat 5.5.20 and java 1.5.0_05-b05. My webapp deploys ok but when I browse to it I get the following exception. xception

Re: Tomcat and JSTL 1.2

2007-01-09 Thread ben short
: Hi all, Im trying to use jstl 1.2 with tomcat 5.5.20 and java 1.5.0_05-b05. My webapp deploys ok but when I browse to it I get the following exception. xception org.apache.jasper.JasperException: Unable to read TLD META-INF/c.tld from JAR file file:/opt/apache-tomcat-5.5.20/webapps/basket

RE: Tomcat and JSTL 1.2

2007-01-09 Thread Derrick Koes
PROTECTED] On Behalf Of ben short Sent: Tuesday, January 09, 2007 12:45 PM To: Tomcat Users List Subject: Re: Tomcat and JSTL 1.2 Tim, Thats what I thought, but I check and double checked and the jstl-1.2.jar file is in the correct location. It also has the c.tld inside it. On 1/9/07, Tim Funk [EMAIL

Re: Tomcat and JSTL 1.2

2007-01-09 Thread ben short
%@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben short Sent: Tuesday, January 09, 2007 12:45 PM To: Tomcat Users List Subject: Re: Tomcat and JSTL 1.2 Tim, Thats what I thought, but I check

Re: Tomcat and JSTL 1.2

2007-01-09 Thread chaitya shah
1st u need to copy all *.tld files to WEB-INF folder and all JAR files to WEB-INF/lib/ folders including JSTL-1.2.JAR file also On 1/9/07, ben short [EMAIL PROTECTED] wrote: Hi all, Im trying to use jstl 1.2 with tomcat 5.5.20 and java 1.5.0_05-b05. My webapp deploys ok but when I browse