Changing from Servlet 2.3 to Servlet 2.4 (JSP 2.0)
(Difference between revisions)
Line 17: | Line 17: | ||
4. Replace the OpenCms-Expressions in your Resources <br /> | 4. Replace the OpenCms-Expressions in your Resources <br /> | ||
− | e.g. "${opencms.uri}" into "${'${'}opencms.uri}" or since OpenCms 6.2.3 into "% | + | e.g. "${opencms.uri}" into "${'${'}opencms.uri}" or since OpenCms 6.2.3 into "%(opencms.uri)") <br /> |
[[Image:Changing_from_Servlet_2.3_to_Servlet_2.4_opencmsexpressions.GIF]] | [[Image:Changing_from_Servlet_2.3_to_Servlet_2.4_opencmsexpressions.GIF]] |
Revision as of 01:55, 21 January 2007
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">
2. in WEB-INF/opencms.tld enable for all TAG-Attributes rtexprvalue:
<rtexprvalue>true</rtexprvalue>
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)")