html
Class FileServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by html.StaticResourceServlet
              extended by html.FileServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class FileServlet
extends StaticResourceServlet

Servlet for serving files by jPALIO. A directory of static content can be specified by initial param basePath. If not specified, the default value will be used. Default directory path for static content is static in base directory of jPALIO context.

Author:
Krzysztof Madyniak
See Also:
StaticResourceServlet, StaticResource, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class html.StaticResourceServlet
StaticResourceServlet.StaticResource
 
Field Summary
static java.lang.String PARAM_BASE_PATH
          Base path for static content parameter
 
Constructor Summary
FileServlet()
           
 
Method Summary
 void init()
           
 
Methods inherited from class javax.servlet.http.HttpServlet
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_BASE_PATH

public static final java.lang.String PARAM_BASE_PATH
Base path for static content parameter

See Also:
Constant Field Values
Constructor Detail

FileServlet

public FileServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException