The Tomcat 4.x JSP Examples
The original Tomcat JSP examples imported in OpenCms.
The required beans, tld's and other utility classes for the examples are located in the jar file
tomcat-examples.jar. This jar is installed as part of this module.
- You must restart OpenCms / Tomcat after the initial import of this module to load this additional jar, or the examples will not work.
- None of the classes in the jar has been modified to work with OpenCms.
- Some of the JSP pages had to be slightly modified to work with OpenCms. All modifications deal with the inclusion of files.
The "Send Mail" example does not work "out of the box" since it requires
modifications in the
/WEB-INF/web.xml. If you want to see these examples in action, you must make the modifications first. This is the original, unmodified behaviour of the Tomcat examples.
There a 2 examples that don't work, both of them use
forward()which is not yet supported in OpenCms.
- Please note: The "view source" feature in the Tomcat examples does not escape html tags. Therefore most of the source code does not display in the browser correctly. This is the original, unmodified behaviour of the Tomcat examples.
This folder contains the imported original Tomcat 4.x examples