echopoint
Class Servlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
nextapp.echo.webcontainer.WebContainerServlet
echopoint.Servlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public abstract class Servlet
- extends WebContainerServlet
A servlet class that can be used to set up the default font properties
for the application using init parameters. An example configuration of
the servlet would be as follows:
<servlet>
<servlet-name>servlet</servlet-name>
<servlet-class>echopoint.Servlet</servlet-class>
<init-param>
<param-name>echopoint.style.DefaultFont.typeface</param-name>
<param-value>'Verdana, Times New Roman, Lucida Grande'</param-value>
</init-param>
<init-param>
<param-name>echopoint.style.DefaultFont.style</param-name>
<param-value>PLAIN</param-value>
</init-param>
<init-param>
<param-name>echopoint.style.DefaultFont.size</param-name>
<param-value>10pt</param-value>
</init-param>
</servlet>
- Version:
- $Id: Servlet.java 202 2009-05-14 21:36:37Z sptrakesh $
- Author:
- Rakesh 2009-05-13
- See Also:
- Serialized Form
| Fields inherited from class nextapp.echo.webcontainer.WebContainerServlet |
DEBUG_PRINT_MESSAGES_TO_CONSOLE, DISABLE_CACHING, ENABLE_CLIENT_DEBUG_CONSOLE, INSTANCE_MODE_SINGLE, INSTANCE_MODE_WINDOW, SERVICE_ID_BLANK_DOCUMENT, SERVICE_ID_DEFAULT, SERVICE_ID_NEW_INSTANCE, SERVICE_ID_PARAMETER, SERVICE_ID_SESSION_EXPIRED, USER_INSTANCE_ID_PARAMETER |
|
Method Summary |
protected void |
configureFont()
Configure DefaultFont properties. |
void |
init()
Set up default properties configured as init parameters. |
| Methods inherited from class nextapp.echo.webcontainer.WebContainerServlet |
addInitScript, addInitStyleSheet, doGet, doPost, getActiveConnection, getInitScripts, getInitStyleSheets, getInstanceMode, getMultipartRequestWrapper, getResourceRegistry, getServiceRegistry, newApplicationInstance, process, setMultipartRequestWrapper |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Servlet
public Servlet()
init
public void init()
throws ServletException
- Set up default properties configured as init parameters.
- Overrides:
init in class GenericServlet
- Throws:
ServletException
configureFont
protected void configureFont()
- Configure
DefaultFont properties.