Changing from Servlet 2.3 to Servlet 2.4 (JSP 2.0)

From OpenCms Wiki
Revision as of 00:55, 21 January 2007 by Brabenetz (Talk | contribs)
Jump to: navigation, search

INFO: This is not necessary for OpenCms 7.0 or above.

1. in WEB-INF/web.xml change the Header:

   <web-app xmlns="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 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
        version="2.4">
 

Changing from Servlet 2.3 to Servlet 2.4 web-xml.GIF

2. in WEB-INF/opencms.tld enable for all TAG-Attributes rtexprvalue:

<rtexprvalue>true</rtexprvalue>

Changing from Servlet 2.3 to Servlet 2.4 opencms-tld.GIF

3. restart tomcat

4. Replace the OpenCms-Expressions in your Resources
e.g. "${opencms.uri}" into "${'${'}opencms.uri}" or since OpenCms 6.2.3 into "%(opencms.uri)")
Changing from Servlet 2.3 to Servlet 2.4 opencmsexpressions.GIF

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox