SK.gnome.dwarf.http.servlet
Class JSPServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.apache.jasper.servlet.JspServlet
              extended bySK.gnome.dwarf.http.servlet.JSPServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class JSPServlet
extends org.apache.jasper.servlet.JspServlet

Provides wrapper for servlets compiled from the JSP pages.

It requires one init parameter "sk.gnome.dwarf.http.jspFile" with URI path to the JSP file. This path must be relative to the current servlet context.

The service method includes the output of the given JSP page to the current HTTP response.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jasper.servlet.JspServlet
config, context, engine, jsps, loader, options, parentClassLoader, serverInfo
 
Constructor Summary
JSPServlet()
           
 
Method Summary
 java.lang.String getServletInfo()
           
 void init()
           
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.apache.jasper.servlet.JspServlet
destroy, doLoadJSP, init, isOutDated
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSPServlet

public JSPServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

getServletInfo

public java.lang.String getServletInfo()

service

public void service(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws java.io.IOException,
                    javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright (c) 1999-2005, Gnome Ltd. All rights reserved.