Do you need to remain compliant with Servlet 2.3/JSP 1.2 or can you go with
Servlet 2.4/JSP 2.0?
Quoting Barnett, Brian W. [EMAIL PROTECTED]:
Just installed Tomcat 5.0.19 and it is complaining about some stuff in my
jsp files. After some reading, I determined it had something to do with
What is the difference between strictly JSP 2.0 compliant pages and JSP
1.2 pages? I understand that JSP 2.0 replaces the non-XML compliant %
% tokens with XML tags, but what are those tags and how do we use them?
Thank you,
Derek
-Original Message-
From: Kris Schneider [mailto:[EMAIL
By the way, I am interested only in the differences in the JSP metadata such as header
and tag library reference syntax rather than the JSP language elements themselves,
such as the expression language.
Derek
-Original Message-
From: Derek Mahar
Sent: May 27, 2004 9:29 AM
To: Tag
As far as I know, we can go with Servlet 2.4/JSP 2.0.
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 6:17 AM
To: Tag Libraries Users List
Subject: Re: *regular* jsp vs. *xml document* jsp question
Do you need to remain compliant with
How does one create an associative array variable in a JSP tag file
using the EL? I had no luck with the following attempt:
%@ variable name-given=selected
variable-class=java.util.Map%
%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core%
c:choose
c:when test=${value == 'Client'}
I haven't had time to play with tag files much, but here's a quick example that
may help:
map.jsp:
%@ page contentType=text/plain %
%@ taglib prefix=tags tagdir=/WEB-INF/tags %
selected.client before: '${selected.client}'
tags:map
selected.client during: '${selected.client}'
/tags:map
For JSP 2.0, a JSP document is identified in one of the following ways:
The existence in web.xml of a jsp-property-group element with an is-xml
subelement set to true.
The file has a .jspx extension.
The top element of the file is jsp:root.
Are you using a Servlet 2.4 web.xml:
web-app
Very clever! Thank you!
Derek
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: May 27, 2004 3:26 PM
To: Tag Libraries Users List
Subject: Re: Associative array variable in JSP tag file
I haven't had time to play with tag files much, but here's a quick
example
I have a List object as a request scoped variable and I want to call a
method on it as the test of a c:if statement. Is this a no no? All the
examples I see for c:if use bean objects in the test. I've tried using the
List object with a number of different syntaxes, but I get error occurred
while
On Thu, 2004-05-27 at 20:04, Barnett, Brian W. wrote:
I have a List object as a request scoped variable and I want to call a
method on it as the test of a c:if statement. Is this a no no?
No, this is a no yes :-): no, you can't do it on JSTL 1.0, but yes,
you can on JSTL 1.1, using EL
I am having a problem with the x:parse tag.
Im using the standard 1.05 apache jstl taglib in a struts 1.1 app on
Jboss3.2.3
No matter what I do the xml fails to parse and a null document is produced.
The xml exists as a string property on a bean.
the xml is as follows -
?xml version=1.0
11 matches
Mail list logo