Seems straight-through, but apparently it isn't.
I have an object in the session scope, of which I need to show some attributes.
Some of them need to be converted to upper case. You can use functions for
that, but the problem is that I get a lot of errors :-/.
My taglib-definition looks as
Hi,
you should separate the namespace from the function name with a colon
rather than with a dot:
%@ taglib uri=http://java.sun.com/jsp/jstl/functions; prefix=fn %
c:out value=${fn:toUpperCase(person.lastName)} /
Taras.
On 1/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Seems
)}:
org.apache.taglibs.standard.lang.jstl.parser.ParseException: EL functions are
not supported.
JSTL is version 1.1 btw.
-Original Message-
From: Taras Puchko [mailto:[EMAIL PROTECTED]
Sent: woensdag 24 januari 2007 10:52
To: Struts Users Mailing List
Subject: Re: JSTL toUpperCase
Hi,
you should separate the namespace
.
-Original Message-
From: Taras Puchko [mailto:[EMAIL PROTECTED]
Sent: woensdag 24 januari 2007 10:52
To: Struts Users Mailing List
Subject: Re: JSTL toUpperCase
Hi,
you should separate the namespace from the function name with a colon
rather than with a dot:
%@ taglib uri=http://java.sun.com
values.
-Original Message-
From: Taras Puchko [mailto:[EMAIL PROTECTED]
Sent: woensdag 24 januari 2007 11:10
To: Struts Users Mailing List
Subject: Re: JSTL toUpperCase
Ensure you have
%@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
and NOT
%@ taglib uri=http://java.sun.com
=${list} var=person
But when I run my webapp, now I can only see ${person.firstName}, ... instead
of the actual values.
-Original Message-
From: Taras Puchko [mailto:[EMAIL PROTECTED]
Sent: woensdag 24 januari 2007 11:10
To: Struts Users Mailing List
Subject: Re: JSTL toUpperCase
Ensure you
Users Mailing List
Subject: Re: JSTL toUpperCase
Make sure you are using web.xml version 2.4.
Taras.
On 1/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
All of a sudden, my iteration doesn't work anymore.
I want to iterate through an ArrayList of Person-objects, and before this
change, I
[EMAIL PROTECTED] wrote:
So I have to change it to this:
!DOCTYPE web-app PUBLIC
-//Sun Microsystems, Inc.//DTD Web Application 2.4//EN
http://java.sun.com/dtd/web-app_2_4.dtd;
Try
?xml version=1.0 encoding=UTF-8?
web-app version=2.4
xmlns=http://java.sun.com/xml/ns/j2ee;
: jsp.error.beans.property.conversion
It worked with JSTL 1.0, it doesn't work anymore for JSTL 1.1.
-Original Message-
From: Taras Puchko [mailto:[EMAIL PROTECTED]
Sent: woensdag 24 januari 2007 11:36
To: Struts Users Mailing List
Subject: Re: JSTL toUpperCase
Make sure you are using web.xml version
9 matches
Mail list logo