%@ page session="false" isErrorPage="true" contentType="text/html" import="java.util.*, org.opencms.jsp.util.*" %><% // initialize instance of status bean CmsJspStatusBean cms = new CmsJspStatusBean(pageContext, request, response, exception); // get the template to use String template = cms.property("template", "search", "/system/modules/org.opencms.welcome/templates/welcome"); // include the template head part cms.includeTemplatePart(template, "head"); %> <%= cms.getPageContent("head") %>
<%= cms.keyStatus("error_description") %>
<% if (cms.showException() && cms.getErrorMessage() != null) { // print the error message for developers, if available out.print("" + cms.getErrorMessage() + "
"); } if (cms.showException() && cms.getException() != null) { // print the exception for developers, if available %><%= cms.getException() %>
<% cms.getException().printStackTrace(new java.io.PrintWriter(out)); %><% } %> <%= cms.getPageContent("foot") %> <% // pass request parameter "hideloginform" to included template foot (required only for "welcome" template) Map params = new HashMap(2); params.put("hideloginform", "true"); // include the template foot part cms.includeTemplatePart(template, "foot", params); %>