The JSP integration in OpenCms

This part of the documentation describes the basics of JSP application development with OpenCms. It provides an overview and some background information about the technology used for the OpenCms JSP integration. Other modules available in the Alkacon OpenCms documentation accompany this introduction and serve as further reference material. 

Please note that this is not an introduction to JSP developing, there are certainly many good tutorials or books for that around.

The JSP integration part in OpenCms is called Flex. So if we talk about an OpenCms/Flex or just a Flex application, we actually mean a JSP application built with OpenCms. The name Flex was chosen because the ultimate goal of the JSP integration was to make OpenCms more flexible to use. We think that we have achieved that goal. But judge for yourself...

Features of the JSP integration in OpenCms:

  • Add and manage JSP in the OpenCms Workplace
  • Supports WYSIWYG editable pages which use JSP templates
  • Use the same JSP template for editable pages and interactive forms
  • JSP Taglib for common OpenCms tasks
  • JSP API to directly access OpenCms functionality
  • Separate online and offline versions of the same JSP
  • Introducing the FlexCache, a powerful declarative caching mechanism
  • Optional output streaming on a per-page basis
  • Optional static export of JSP

About these pages

These pages (i.e. all pages in the OpenCms interactive documentation) have been created with JSP templates and other JSP features. That is why they also serve as an extended example on how to build a website in OpenCms with JSP.

How to continue from here

7 simple steps that show how to create, edit and publish JSP pages in the OpenCms workplace

How to use special OpenCms features in JSP pages

Important background information about the OpenCms JSP integration

How to include sub-elements in an OpenCms managed JSP