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
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
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
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
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
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
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
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
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
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
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
-
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
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
:
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
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
%@ 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
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
17 matches
Mail list logo