net.sourceforge.jsptabcontrol.servlet
Class JSPTabControlServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by net.sourceforge.jsptabcontrol.servlet.JSPTabControlServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class JSPTabControlServlet
extends javax.servlet.http.HttpServlet

JSPTabControlServlet Servlet wich store JSPTabControl resources into Servlet Context. This Servlet must be used if you want use JSPTabControl without Struts (otherwise use Plguin Struts) Exemple of config : jspTabControl net.sourceforge.jsptabcontrol.servlet.JSPTabControlServlet jspTabControlConfig /WEB-INF/jsptabcontrol-config.xml

Version:
1.0.0
Author:
Angelo ZERR
See Also:
Serialized Form

Field Summary
protected  JSPTabControlResources resources
          The set of JSPTabControlResources instances that have been created and initialized.
static long serialVersionUID
           
 
Constructor Summary
JSPTabControlServlet()
           
 
Method Summary
 java.lang.String getJspTabControlConfig()
          Gets a comma delimitted list of JSPTabControl resources.
 void init()
           
protected  void initJSPTabControlResources()
          Initialize the jsptabcontrol resources.
 void setJspTabControlConfig(java.lang.String jspTabControlConfig)
          Sets a comma delimitted list of JSPTabControl resources.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, 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
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

resources

protected JSPTabControlResources resources
The set of JSPTabControlResources instances that have been created and initialized.

Constructor Detail

JSPTabControlServlet

public JSPTabControlServlet()
Method Detail

getJspTabControlConfig

public java.lang.String getJspTabControlConfig()
Gets a comma delimitted list of JSPTabControl resources.

Returns:
comma delimited list of JSPTabControl resource path names

setJspTabControlConfig

public void setJspTabControlConfig(java.lang.String jspTabControlConfig)
Sets a comma delimitted list of JSPTabControl resources.

Parameters:
jspTabControlConfig - delimited list of JSPTabControl resource path names

init

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

initJSPTabControlResources

protected void initJSPTabControlResources()
                                   throws java.io.IOException,
                                          javax.servlet.ServletException
Initialize the jsptabcontrol resources.

Throws:
java.io.IOException - if an input/output error is encountered
javax.servlet.ServletException - if we cannot initialize these resources


Copyright 2007 null. All Rights Reserved.