e
to search for.
Looking into tomcat manager sessions I see this cookie set in each
session
javax.servlet.jsp.jstl.fmt.request.charset ISO-8859-1
The value ISO-8859-1 i set even though the file encoding of the java
launch option is set to UTF-8
There is someone who knows how
this cookie set in each
session
javax.servlet.jsp.jstl.fmt.request.charset ISO-8859-1
The value ISO-8859-1 i set even though the file encoding of the java
launch option is set to UTF-8
There is someone who knows how JSTL decides the value of the cookie?
Or can you point me to
9-1 i set even though the file encoding of the java
launch option is set to UTF-8
The JVM's charset probably doesn't matter at all. What matters is the
charset that client is using for a particular request. I'm not sure why
JSTL bothers to set a cookie for this value. It should be
9-1 i set even though the file encoding of the java
launch option is set to UTF-8
There is someone who knows how JSTL decides the value of the cookie?
Or can you point me to some useful resource?
https://github.com/apache/tomcat-taglibs-standard/blob/main/impl/src/main/java/org/apache/ta
Hello,
> -Ursprüngliche Nachricht-
> Von: Ivano Luberti
> Gesendet: Freitag, 25. August 2023 16:50
> An: users@tomcat.apache.org
> Betreff: OT: where does JSTL set thsi cookie?
> javax.servlet.jsp.jstl.fmt.request.charset
>
> Hi, I understand that this questi
java
launch option is set to UTF-8
There is someone who knows how JSTL decides the value of the cookie?
Or can you point me to some useful resource?
--
Archimede Informatica tratta i dati personali in conformità a quanto
stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 g
Thanks for the reference. So according to the spec [1], TLDs are scanned in
JARs in WEB-INF/lib only. That explains why the TLDs of jstl-1.2.jar are not
picked up when in the common classloader location. However 1 states that the
container builds a map of platform TLDs. So I guess JSTL is not
b folder
> where we keep shared libraries in our TC85-hosted app. If we put jstl-1.2.jar
> into that directory but not in the application /WEB-INF/lib directory, TC
> generates [1]. If I move jstl into the application lib folder, it works. I
> made sure jstl is excluded from jarsT
> where we keep shared libraries in our TC85-hosted app. If we put jstl-1.2.jar
> into that directory but not in the application /WEB-INF/lib directory, TC
> generates [1]. If I move jstl into the application lib folder, it works. I
> made sure jstl is excluded from jarsToSk
e put jstl-1.2.jar into
that directory but not in the application /WEB-INF/lib directory, TC generates
[1]. If I move jstl into the application lib folder, it works. I made sure jstl
is excluded from jarsToSkip and included in jarsToScan.
Is there any rule or switch that says that the JSP com
On 06/08/2016 15:48, Jerry Malcolm wrote:
> I have several sites that all run on the same server. All of them use
> XML extensively for the model data and use JSTL to extract the XML data
> and display the data on the JSP pages. I had to do some maintenance on
> the JSP code structur
I have several sites that all run on the same server. All of them use
XML extensively for the model data and use JSTL to extract the XML data
and display the data on the JSP pages. I had to do some maintenance on
the JSP code structure for one of the sites, rearranging and changing up
CVE-2015-0254 XXE and RCE via XSL extension in JSTL XML tags
Severity: Important
Vendor:
The Apache Software Foundation
Versions Affected:
Standard Taglibs 1.2.1
The unsupported 1.0.x and 1.1.x versions may also be affected.
Description:
When an application uses or tags to process untrusted
says donow62 deployed
> >>>> successfully. In the "Tomcat Web Application Manager" I can
> >>>> see /donow62 listed there.
> >>>>
> >>>> When I clicked on /donow62 it sends me to this URL
> >>>> http://loca
deployed
>>>> successfully. In the "Tomcat Web Application Manager" I can
>>>> see /donow62 listed there.
>>>>
>>>> When I clicked on /donow62 it sends me to this URL
>>>> http://localhost:8080/donow62/ but instead of
> successfully. In the "Tomcat Web Application Manager" I can see
> > /donow62 listed there.
> >
> > When I clicked on /donow62 it sends me to this URL
> > http://localhost:8080/donow62/ but instead of getting expected
> > result and the web page, I get HTTP
g expected
> result and the web page, I get HTTP Status 500 [see web browser log
> below]
>
> My Spring MVC "donow62" app is using JSTL and it is in the
> classpath. Using Eclipse on the donow62 project I created User
> Libraries that reference all the dependencies for donow62.
below]
My Spring MVC "donow62" app is using JSTL and it is in the classpath.
Using Eclipse on the donow62 project I created User Libraries that
reference all the dependencies for donow62. The SERVLET user library has
<> el-api.jar - /Library/Tomcat/apache-tomcat-8.0.12/li
2013/4/20 Jerry Malcolm <2ndgenfi...@gmail.com>:
> I have been searching for several hours for a basic JSTL answer with no
> luck. From what I can tell, JSTL is under the umbrella of Tomcat.
> Hopefully someone can help me out.
>
You are welcome.
> I simply want to us
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jerry,
On 4/20/13 2:14 PM, Jerry Malcolm wrote:
> I have been searching for several hours for a basic JSTL answer
> with no luck. From what I can tell, JSTL is under the umbrella of
> Tomcat.
Nope, but I can understand the confusion.
Jerry
You'll need core taglib and xml taglib e.g.
http://www.tutorialspoint.com/jsp/jstl_xml_out_tag.htm
declaration:<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"
I have been searching for several hours for a basic JSTL answer with no
luck. From what I can tell, JSTL is under the umbrella of Tomcat.
Hopefully someone can help me out.
I simply want to use an existing already-parsed DOM (org.w3c.dom.Document
variable) with JSTL XML tags. In other words, I
PM
Subject: Re: How to I add JSTL Lib to Tomcat with Netbeans
T hanks Mark, I have added the jars exactly the way you have given
suggestions.but for some reasons
<%@ taglib uri="..." %>
is not getting created for my pages.
Let me try to create a simple test case outside the proje
- Original Message -
> From: Kiran Badi
> To: Tomcat Users List
> Cc: Mark Eggers
> Sent: Tuesday, December 6, 2011 3:51 PM
> Subject: Re: How to I add JSTL Lib to Tomcat with Netbeans
>
>T hanks Mark, I have added the jars exactly the way you have given
>
11 9:23 AM, Mark Eggers wrote:
- Original Message -
From: Kiran Badi
To: Tomcat Users List
Cc:
Sent: Monday, December 5, 2011 6:34 PM
Subject: How to I add JSTL Lib to Tomcat with Netbeans
Hi
I have jstl-api-1.2 and jstl-impl-1.2 jars in web/lib folder for my project
setting.Is this the
- Original Message -
> From: Kiran Badi
> To: Tomcat Users List
> Cc:
> Sent: Monday, December 5, 2011 6:34 PM
> Subject: How to I add JSTL Lib to Tomcat with Netbeans
>
> Hi
>
> I have jstl-api-1.2 and jstl-impl-1.2 jars in web/lib folder for my project
Hi
I have jstl-api-1.2 and jstl-impl-1.2 jars in web/lib folder for my
project setting.Is this the right setting to add JSTL jars or I need to
add this to tomcats's lib directory ?
I am using netbeans 7.01 with tomcat 7.0.11 on windows 7.For some
reasons I feel that jstl lib is not us
ile (that comes from Apache) implements it. I
> just downloaded the second file in the beginning.
Tomcat does not implement JSTL... you have to download both the "api"
and the "impl" libraries and install them both in your webapp in order
to use them.
As far as Tomcat is concer
ote:
>> > Hi Mark,
>> >
>> > Do I also need to deploy that file?
>>
>> Almost certainly since that is where I would expect to find the missing
>> class.
>>
>> Mark
>>
>> >
>> > On Thu, May 19, 2011 at 10:28 AM, Mark Tho
>
> Almost certainly since that is where I would expect to find the missing
> class.
>
> Mark
>
> >
> > On Thu, May 19, 2011 at 10:28 AM, Mark Thomas wrote:
> >
> >> On 19/05/2011 16:26, Brian Braun wrote:
> >>> I did.
> >>
> >
n Braun wrote:
>>> I did.
>>
>> Isn't there a jstl-api-1.2.jar you need as well?
>>
>> Mark
>>
>>>
>>> On Thu, May 19, 2011 at 10:24 AM, Yucca Nel wrote:
>>>
>>>> Either that classis part of a lib that must be include
Hi Mark,
Do I also need to deploy that file?
On Thu, May 19, 2011 at 10:28 AM, Mark Thomas wrote:
> On 19/05/2011 16:26, Brian Braun wrote:
> > I did.
>
> Isn't there a jstl-api-1.2.jar you need as well?
>
> Mark
>
> >
> > On Thu, May 19, 2011 at 10
On 19/05/2011 16:26, Brian Braun wrote:
> I did.
Isn't there a jstl-api-1.2.jar you need as well?
Mark
>
> On Thu, May 19, 2011 at 10:24 AM, Yucca Nel wrote:
>
>> Either that classis part of a lib that must be included in your WEB-INF/lib
>> or in your $CATA
an Braun
> Sent: Thursday, May 19, 2011 5:16 PM
> To: Tomcat Users List
> Subject: java.lang.NoClassDefFoundError:
> javax/servlet/jsp/jstl/core/LoopTag
>
>
> Hi,
>
> I feel like a rookie, But I will ask for help on this. I will swallow my
> pride.
> I'm using
: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag
Hi,
I feel like a rookie, But I will ask for help on this. I will swallow my
pride.
I'm using Eclipe (latest version) to develop, and Tomcat 7.0.X both in
development and in production. I started using JSTL1.2 today. When I r
ption: java.lang.NoClassDefFoundError:
javax/servlet/jsp/jstl/core/LoopTag
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.jav
So sorry to everyone.
I missed something about that. Oracle JDK6 compiler to support 1.3
class seems to be perfect.
Very very sorry.
Happy New Lunner Year.
I'm very stupid.
--
-
To unsubscribe, e-mail: users-unsubscr...@tomcat
I knew that Oracle JDK6 compile 1.3 Java source. But when that source
do not use generics, Oracle compiler sometimes seems to compile with
not but .
It makes problem when we use JSTL with 1.3 class to build on Oracle JDK6.
Thanks. Very busy day to all because of 64bit or Generics
On Wednesday 18 August 2010, Hassan Schroeder wrote:
> On Wed, Aug 18, 2010 at 2:23 AM, David Goodenough
>
> wrote:
> > I have some old JSP pages which used to run on Tomcat 5.5. I tried to
> > move to Tomcat 6 and the current JSTL but I am getting some odd
errors.
>
On Wed, Aug 18, 2010 at 2:23 AM, David Goodenough
wrote:
> I have some old JSP pages which used to run on Tomcat 5.5. I tried to
> move to Tomcat 6 and the current JSTL but I am getting some odd errors.
I don't remember any similar problems moving from 5.5 to 6 but that
was serious
I have some old JSP pages which used to run on Tomcat 5.5. I tried to
move to Tomcat 6 and the current JSTL but I am getting some odd errors.
When I include the <%@ taglib directives inline in the source, say:-
...
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix=&
Hi
I remember a while ago I had to downgrade the jstl version because of
the way that x:forEach tag is implemented, which recompiles the xpath
at every iteration, slowing down the xml processing.
The bug is open since 2004:
https://issues.apache.org/bugzilla/show_bug.cgi?id=27717
Does anyone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kris,
On 5/7/2010 11:12 AM, Kris Schneider wrote:
> On Fri, May 7, 2010 at 10:39 AM, Christopher Schultz
> wrote:
>>
>> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
>
>
On Fri, May 7, 2010 at 10:39 AM, Christopher Schultz
wrote:
> All,
>
> I'm a complete newbie to JSTL and I'm having trouble getting a simple page
> to render. The page below gives me the error:
>
> org.apache.jasper.JasperException: /tasks.jsp(18,6) According to TLD
On 07/05/2010 15:57, Christopher Schultz wrote:
> All,
>
> On 05/07/2010 10:39 AM, Christopher Schultz wrote:
>> Can anyone shed any light on this? I'm going to toss my entire WAR file
>> into the environment where it /is/ working to see if it's some
>> interaction problem.
>
> Placing my entire
All,
On 05/07/2010 10:39 AM, Christopher Schultz wrote:
> Can anyone shed any light on this? I'm going to toss my entire WAR file
> into the environment where it /is/ working to see if it's some
> interaction problem.
Placing my entire WAR file into the environment where I could get the
JSP worki
All,
I'm a complete newbie to JSTL and I'm having trouble getting a simple
page to render. The page below gives me the error:
org.apache.jasper.JasperException: /tasks.jsp(18,6) According to TLD or
attribute directive in tag file, attribute items does not accept any
e
ok thanks :)
On Mon, Oct 19, 2009 at 5:05 PM, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Markus,
>
> On 10/19/2009 10:59 AM, Markus Stauffer wrote:
>> with trimWhiteSpaces set to true:
>> ${firstName} ${name} produces firstNamename without spaces in the html
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Markus,
On 10/19/2009 10:59 AM, Markus Stauffer wrote:
> with trimWhiteSpaces set to true:
> ${firstName} ${name} produces firstNamename without spaces in the html
> ${firstName}${' '}${name} produces firstName name with spaces in the html
>
> If the
with trimWhiteSpaces set to true:
${firstName} ${name} produces firstNamename without spaces in the html
${firstName}${' '}${name} produces firstName name with spaces in the html
If the second behaviour changes I have to reedit all my jsp files.
On Mon, Oct 19, 2009 at 4:49 PM, Christopher Schul
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Markus,
On 10/17/2009 2:52 AM, Markus Stauffer wrote:
>>
>>private final String emptyText = new String("");
>>
>> Anyhow, it probably makes sense to change the "emptyText" string from ""
>> to " " (that is, use a space instead of nothing).
>>
what about doing
would this retain the spaces or would it be identical to
${firstName} ${lastName}
On Fri, Oct 16, 2009 at 11:01 AM, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Curtis,
>
> On 10/16/2009 11:50 AM, Curtis Garman wrote:
>> Hmm...Christopher,
Markus, why would it produce two spaces?
On Sat, Oct 17, 2009 at 1:52 AM, Markus Stauffer
wrote:
>>
>> private final String emptyText = new String("");
>>
>> Anyhow, it probably makes sense to change the "emptyText" string from ""
>> to " " (that is, use a space instead of nothing).
>>
>>
private final String emptyText = new String("");
Anyhow, it probably makes sense to change the "emptyText" string
from ""
to " " (that is, use a space instead of nothing).
This bugzilla entry might be interesting to you:
https://issues.apache.org/bugzilla/show_bug.cgi?id=45931
Chan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Curtis,
On 10/16/2009 11:50 AM, Curtis Garman wrote:
> Hmm...Christopher, thanks for the post...that's good info...as long as
> I know a little more about it, I'm ok with turning it off...my
> understanding was that it's purpose was to just remove emp
Hmm...Christopher, thanks for the post...that's good info...as long as
I know a little more about it, I'm ok with turning it off...my
understanding was that it's purpose was to just remove empty lines
(that result from include directives and such) from the
response...which is my main reason for wan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Curtis,
On 10/16/2009 9:49 AM, Curtis Garman wrote:
> That's what I ended up doing and I believe that took care of it...but
> I figured if it is an apache recommended setting that it should also
> work :)
Well, it does work... just not the way you ex
t;
> On 10/13/2009 5:08 PM, Curtis Garman wrote:
>> Has anyone else experienced loosing spaces between printing jstl
>> variables. I've got something that is printing
>>
>> ${firstName} ${lastName} --> Curtis Garman
>>
>> but instead the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Curtis,
On 10/13/2009 5:08 PM, Curtis Garman wrote:
> Has anyone else experienced loosing spaces between printing jstl
> variables. I've got something that is printing
>
> ${firstName} ${lastName} --> Curtis Garman
>
>
009 um 23:08 schrieb Curtis Garman:
>
>> Has anyone else experienced loosing spaces between printing jstl
>> variables. I've got something that is printing
>>
>> ${firstName} ${lastName} --> Curtis Garman
>>
>> but instead the space in between the two n
My suggestion: set trimSpace to true on both servers.
Then use ${firstName}{' '}${lastName}
regards
Am 13.10.2009 um 23:08 schrieb Curtis Garman:
Has anyone else experienced loosing spaces between printing jstl
variables. I've got something that is printing
${firstN
Has anyone else experienced loosing spaces between printing jstl
variables. I've got something that is printing
${firstName} ${lastName} --> Curtis Garman
but instead the space in between the two names is getting lost so it prints as
CurtisGarman
The wierd thing is that it displays j
he absolute uri:
> http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or
the
> jar files deployed with this application*
why web.xml is not found I am not able to understand.
Any help appreciated.
Thanks,
Deepa
The setup looks good from what I can tell. The only side note (and this
isn't causing your error) is to drop the ?autoconnect=true from your
mysql URL, replacing it with a validationQuery attribute in the
element. The error itself makes me think your jstl jars
aren't visible to tomcat
-- Forwarded message --
From: Deepa Annamalai
Date: 2009/5/20
Subject: Help needed to run JSTL 1.1 in Tomcat 6.0.16
To: users@tomcat.apache.org
Hi All,
Help needed to run JSTL 1.1 in Tomcat 6.0.16
I am trying to run the example given in
http://tomcat.apache.org/tomcat-6.0-doc
> From: Joseph dela Peña [mailto:masterkure...@gmail.com]
> Subject: Tomcat 6 conflict between apache JSTL libs and glassfish
> appserv-rt.jar
>
> I'm getting a java.lang.NoSuchMethodError:
> javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
> when
Hi,
I've started using JSTL tags in my JSP. All was good until i needed to
call a remote EJB from a servlet, store the object to a session, and
redirect to a JSP page to display the content of the remote object.
We'll just to clear things, i am able to do this properly using JSP
e
Thanks, Martin,
That was NOT an issue. I have been using updated taglib URI's for the
last few years (including under Tomcat 5.5.15).
I resolved the issue and it had to do with a servlet from another
framework handling all requests and not re-writing /*/*.jsp correctly
under Tomcat 6 (whatever th
ould
find:
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
web-jsptaglibrary_2_0.xsd"
version="2.0">
JSTL 1.1 core library
JSTL core
Sorry for wasting everyone's time. I found the problem and it was in
my application, which for whatever reason still works under Tomcat
5.5.15.
I was playing with Cocoon framework in the past and the paths were
being routed through Cocoon servlet, which resulted in correct
remapping for /index.jsp
Mark,
I think I understand what you are saying about path and docBase being
invalid in my setup (per docs, they should not be set in context.xml,
which is not the same as setting them to empty), however even with
these changes, the outcome is exactly the same.
I even added override="false" thinki
Gmail User wrote:
> Mark,
>
> The server.xml is 6.0.18 distribution version. I added host to it
> (host name changed for privacy):
>
> unpackWARs="false" path="" autoDeploy="false" xmlValidation="false"
> xmlNamespaceAware="false">
Path is not a valid attribute for a host element. That should n
Mark,
The server.xml is 6.0.18 distribution version. I added host to it
(host name changed for privacy):
www.example.com
The corresponding /var/webapps/example.com/ROOT/META-INF/context.xml
was copied over from the original 5.5.15 server.xml that still works:
sCache
> processWebDotXml
> WARNING: Internal Error: File /WEB-INF/web.xml not found
> Mar 14, 2009 4:38:57 AM org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet jsp threw exception
> org.apache.jasper.JasperException: The absolute uri:
> http:
he absolute uri:
http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml
or the jar files deployed with this application
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(Err
mcat 5.0 and later)
> 2. Make sure your jstl.jar and standard.jar are from version 1.1 of the
> standard and jstl taglibs
>
> Post the real, earliest log files related to your request with minimal
> editing and definitely show the entire stack including any and all root
> causes to
A couple more suggestions ...
1. Make sure your web.xml file uses the servlet version 2.4 or later
schema (supported in tomcat 5.0 and later)
2. Make sure your jstl.jar and standard.jar are from version 1.1 of the
standard and jstl taglibs
Post the real, earliest log files related to your
:
>
> ROOT (/) -- index.jsp
> -- folder1 -- index.jsp
> -- include -- header.jsp
> -- footer.jsp
> -- WEB-INF -- ...
>
>
> I have a configured a ROOT app for my virtual host. If I access
> "http://host/index.jsp&
-- ...
I have a configured a ROOT app for my virtual host. If I access
"http://host/index.jsp";, it works alright. The "http://host/index.jsp";
uses JSTL tag to include a file, , same for the footer. However, if I were to access
"http://host/include/header.jsp"; di
JSTL is not a part of TC. Use Maven2 to assemble your application so it
includes the desired version of JSTL. Or Ant.
Nix.
From: Alexander Hartner <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Sent: Friday, October 17, 2008 3:14:45 PM
Subje
I figured out what the problem was. I was using JSTL 1.1 rather then 1.2.
I found a version of this here :
https://maven-repository.dev.java.net/repository/jstl/jars/
I am wondering if there are any plans to include this release with Tomcat
6, or make it easier accessible.
May this is already
uest
jsp file
<[EMAIL PROTECTED] contentType="text/html"%>
<[EMAIL PROTECTED] pageEncoding="UTF-8"%>
<[EMAIL PROTECTED] prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<[EMAIL PROTECTED] prefix="f"
That was it my brother! I removed standard and jstl and installed the single
1.2 JSTL file and life is great.
Thanks,
Scott
David Smith-2 wrote:
>
> What version of JSTL jars are you using and what do you have up at the
> top of your jsp declaring the taglibs? Seems like this is
What version of JSTL jars are you using and what do you have up at the
top of your jsp declaring the taglibs? Seems like this is a mix up
using and older tld with a newer JSTL syntax or mixing versions of
standard.jar and jstl.jar.
--David
stanlick wrote:
I just installed the new Eclipse
I just installed the new Eclipse Ganymede and Tomcat 6.x server and created a
dynamic web app. I added the JSTL jars to the project and after much
fussing around trying to get the jars to actually deploy to the WEB-INF/lib
folder, I am getting this error when trying to use the core tag library
Hello,
I have a web application that uses JSP 2.0 tag files and the Jakarta
standard implementation of the JSTL. Essentially, I have JSP files that use
custom tag files, both of which use the JSTL XML tag libraries for XML
manipulation. Under Tomcat 5.5.17 and earlier, in my tag file, I was able
Hi.
Ive been using x:parse etc. to display some xml thats stored in a database.
I want to do some conditional stuff but cant get x:choose, x:when and
x:otherwise to compile.
This is my code: (further down is the error I get)
/~
\
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 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. js
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: 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
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
David
As Hassan mentioned you're seeing some version specific feature(s) i.e.
http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html
is version 1.1 specific
1.2 supports the Class PermittedTaglibsTLV
javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV which has the initialis
Ok I fixed!
In my web.xml I don't specify any jstl.
in my jsp I use
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"; prefix="fn" %>
Now it works about everything
On 6/5/07, Davide Manca <[EMAIL PROTECTED]> wrote:
If I write
http://java.sun.com/jsp/jstl/core instead of
http://java.sun.com/jstl/core my jstl tags are not executed...
Why?
What servlet spec version is your web.xml?
Perhaps you can distill and post a small test JSP?
--
Hassan Sch
If I write
http://java.sun.com/jsp/jstl/core instead of
http://java.sun.com/jstl/core my jstl tags are not executed...
Why?
Thank you.
On Tue, 2007-06-05 at 06:53 -0700, Hassan Schroeder wrote:
> On 6/5/07, Davide Manca <[EMAIL PROTECTED]> wrote:
> > I have this code:
> &g
On 6/5/07, Davide Manca <[EMAIL PROTECTED]> wrote:
I have this code:
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"; prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c"%>
Mixing taglib versions can't
I have this code:
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"; prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c"%>
Hai cercato
lo
spettacolo ''
nel teatro
''
a
'
True sreq has to be the name of an attribute of pageContext,
request, session, or servletContext.
-David
Pid wrote:
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
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
1 - 100 of 165 matches
Mail list logo