org.apache.jetspeed.services.webpage
Class WebPageConsoleServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.apache.velocity.servlet.VelocityServlet
              extended byorg.apache.jetspeed.services.webpage.WebPageConsoleServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class WebPageConsoleServlet
extends org.apache.velocity.servlet.VelocityServlet

WebPageConsoleServlet is the main servlet entry point for the WebPage console.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.velocity.servlet.VelocityServlet
CONTENT_TYPE, DEFAULT_CONTENT_TYPE, DEFAULT_OUTPUT_ENCODING, INIT_PROPS_KEY, REQUEST, RESPONSE
 
Constructor Summary
WebPageConsoleServlet()
           
 
Method Summary
 java.lang.String getClear()
           
 java.lang.String getDetails()
           
 java.lang.String getKill()
           
 java.lang.String getKillne()
           
 java.lang.String getLogon()
           
 java.lang.String getProxyRoot()
           
 java.lang.String getRefresh()
           
 java.lang.String getTest()
           
 java.lang.String getWebapp()
           
 org.apache.velocity.Template handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context ctx)
           
protected  java.util.Properties loadConfiguration(javax.servlet.ServletConfig config)
          Set the log file to be off of the webapp root, and will do the same with the file loader paths
 
Methods inherited from class org.apache.velocity.servlet.VelocityServlet
chooseCharacterEncoding, createContext, doGet, doPost, doRequest, error, getTemplate, getTemplate, handleRequest, init, initVelocity, mergeTemplate, requestCleanup, setContentType
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebPageConsoleServlet

public WebPageConsoleServlet()
Method Detail

handleRequest

public org.apache.velocity.Template handleRequest(javax.servlet.http.HttpServletRequest request,
                                                  javax.servlet.http.HttpServletResponse response,
                                                  org.apache.velocity.context.Context ctx)

loadConfiguration

protected java.util.Properties loadConfiguration(javax.servlet.ServletConfig config)
                                          throws java.io.IOException,
                                                 java.io.FileNotFoundException
Set the log file to be off of the webapp root, and will do the same with the file loader paths

Parameters:
config - The Servlet configuration.
Returns:
The Properties collection of Velocity properties.
Throws:
exceptions - when failed to read the properties or log files
java.io.IOException
java.io.FileNotFoundException

getRefresh

public java.lang.String getRefresh()

getClear

public java.lang.String getClear()

getDetails

public java.lang.String getDetails()

getTest

public java.lang.String getTest()

getKill

public java.lang.String getKill()

getKillne

public java.lang.String getKillne()

getLogon

public java.lang.String getLogon()

getProxyRoot

public java.lang.String getProxyRoot()

getWebapp

public java.lang.String getWebapp()


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.