public class RythmServlet
extends javax.servlet.http.HttpServlet
A servlet to process Rythm templates. This is comparable to the the JspServlet for JSP-based applications.
The servlet provides the following features:
RythmViewServlet supports the following configuration parameters in web.xml:
true
. If set to false
, then
the RythmView
used by this servlet will not be shared
with RythmViewFilter
s, other RythmViewServlets or
org.rythmengine.tools.view.jsp.RythmViewTag
s in the
application.true
. If set to false
, then
the default toolbox configuration will not be added to your (if any)
custom configuration. NOTE: The default configuration will also be
suppressed if you are using a deprecated toolbox.xml format and do not
explicitly set this to true
.false
. If set to true
, then
then the final toolbox configuration (the combination of any custom
one(s) provided by yourself and/or the default configuration(s))
will have all invalid tools, properties, and/or data removed prior to
configuring the ToolboxFactory for this servlet by a
org.rythmengine.tools.config.ConfigurationCleaner
HttpServletResponse
's writer. If this parameter is
set to true
, then the output of the merge process will be
buffered before being fed to the response. This allows the #error
method to be overridden to return a "500 Internal Server Error" or
at least not return any of the failed request content. Essentially,
setting this to true
degrades performance in order to enable
a more "correct" error response"Constructor and Description |
---|
RythmServlet() |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Copyright © 2015. All Rights Reserved.