public class CmsJspTagExport extends javax.servlet.jsp.tagext.BodyTagSupport
Usually, if you want to create a JSP page using the OpenCms static export, some parts of the page should be processed by OpenCms, while other parts of the JSP are processed later when the exported JSP is deployed in another servlet container. A typical use case is that you have a template applied to the page in OpenCms, but the body content of the page is generated after the static export, for example by a database application.
Please note: In order to static export a JSP page with the ".jsp" suffix, you need to add the
property "exportsuffix" with the value ".jsp" to the OpenCms JSP file in the VFS.
Otherwise the static export will always add the suffix ".html".
| Constructor and Description |
|---|
CmsJspTagExport() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag() |
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic CmsJspTagExport()
public int doStartTag()
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportBodyTagSupport.doStartTag()