[opencms-dev] 6.0.0 and JSTL 1.1/JSP2.0 question

Martin Kuba makub at ics.muni.cz
Thu Jun 30 16:50:19 CEST 2005


Hi Alkalon,

I installed 6.0.0 and I noticed that there are two new files

WEB-INF/lib/jstl-1.1.2.jar
WEB-INF/lib/standard-1.1.2.jar

in 6.0.0 which I believe are the Jakarta implementation of JSTL1.1

JSTL 1.1 per specification requires JSP 2.0, which in turn requires 
Servlet 2.4 container. But the

WEB-INF/web.xml

file in 6.0.0 specifies that it is Servlet 2.3 webapplication.

I tried to redefine it in web.xml to be Servlet 2.4  webapp,
but then XML Content Demo had some problems. I also noticed
in the documentation, that the XML tags are using
${xxx} syntax for some arguments, which in JSP/2.0 means
EL expressions interpreted by JSP compiler.

My question is - what is the relation between OpenCms 6.0.0
and servlet/JSP/JSTL versions ?

The inclusion of JSTL1.1 libraries suggests that it may work,
but in the same time the declaration of OpenCms as Servlet2.3
application disallows it.

I understand that web.xml specifies Servlet2.3 because it would
not work on TomCat 4 otherwise, but JSTL 1.1 cannot work
on TomCat 4 anyway.

Martin
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno             Martin Kuba
Institute of Computer Science    email: makub at ics.muni.cz
Masaryk University             http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ     mobil: +420-603-533775
--------------------------------------------------------------



More information about the opencms-dev mailing list