com.trackstudio.action
Class TemplateServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.trackstudio.action.TemplateServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class TemplateServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Field Summary
static java.lang.String BSH
           
static java.lang.String CHARSET
           
static java.lang.String CONTEXT_PATH
           
static java.lang.String DATE_FORMATTER
           
static java.lang.String DEFAULT_FILTER
           
static java.lang.String FILTERS
           
static java.lang.String HOURS_FORMATTER
           
protected  HibernateUtil hu
           
static java.lang.String I18N
           
static java.lang.String REQUEST
           
static java.lang.String REQUEST_ATTRIBUTES
           
static java.lang.String REQUEST_COOKIES
           
static java.lang.String REQUEST_VALUE
           
static java.lang.String REQUEST_VALUES
           
static java.lang.String SC
           
static java.lang.String SESSION
           
static java.lang.String TASK
           
static java.lang.String TEMPLATE_NAME
           
static java.lang.String TEMPLATE_TASK
           
static java.lang.String UPLOADER
           
static java.lang.String USER
           
static java.lang.String UTIL
           
 
Constructor Summary
TemplateServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest mrequest, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
           
 void error404(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
           
 
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, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hu

protected HibernateUtil hu

CHARSET

public static final java.lang.String CHARSET
See Also:
Constant Field Values

DATE_FORMATTER

public static final java.lang.String DATE_FORMATTER
See Also:
Constant Field Values

HOURS_FORMATTER

public static final java.lang.String HOURS_FORMATTER
See Also:
Constant Field Values

TASK

public static final java.lang.String TASK
See Also:
Constant Field Values

DEFAULT_FILTER

public static final java.lang.String DEFAULT_FILTER
See Also:
Constant Field Values

TEMPLATE_NAME

public static final java.lang.String TEMPLATE_NAME
See Also:
Constant Field Values

TEMPLATE_TASK

public static final java.lang.String TEMPLATE_TASK
See Also:
Constant Field Values

CONTEXT_PATH

public static final java.lang.String CONTEXT_PATH
See Also:
Constant Field Values

I18N

public static final java.lang.String I18N
See Also:
Constant Field Values

UTIL

public static final java.lang.String UTIL
See Also:
Constant Field Values

REQUEST_VALUE

public static final java.lang.String REQUEST_VALUE
See Also:
Constant Field Values

REQUEST_VALUES

public static final java.lang.String REQUEST_VALUES
See Also:
Constant Field Values

REQUEST_COOKIES

public static final java.lang.String REQUEST_COOKIES
See Also:
Constant Field Values

REQUEST_ATTRIBUTES

public static final java.lang.String REQUEST_ATTRIBUTES
See Also:
Constant Field Values

FILTERS

public static final java.lang.String FILTERS
See Also:
Constant Field Values

REQUEST

public static final java.lang.String REQUEST
See Also:
Constant Field Values

USER

public static final java.lang.String USER
See Also:
Constant Field Values

SESSION

public static final java.lang.String SESSION
See Also:
Constant Field Values

SC

public static final java.lang.String SC
See Also:
Constant Field Values

BSH

public static final java.lang.String BSH
See Also:
Constant Field Values

UPLOADER

public static final java.lang.String UPLOADER
See Also:
Constant Field Values
Constructor Detail

TemplateServlet

public TemplateServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest mrequest,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException,
                  javax.servlet.ServletException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
java.io.IOException
javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest httpServletRequest,
                   javax.servlet.http.HttpServletResponse httpServletResponse)
            throws java.io.IOException,
                   javax.servlet.ServletException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
java.io.IOException
javax.servlet.ServletException

error404

public void error404(javax.servlet.http.HttpServletRequest httpServletRequest,
                     javax.servlet.http.HttpServletResponse httpServletResponse)
              throws java.io.IOException,
                     javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.