tomp.ext.servlet
Class StartSessionAction

java.lang.Object
  |
  +--tomp.ext.Action
        |
        +--tomp.ext.servlet.ServletAction
              |
              +--tomp.ext.servlet.StartSessionAction

public class StartSessionAction
extends ServletAction

Class StartSessionAction is an extension of the simple ServletAction.
It it stored in the HttpSession under "_action" attribute and provides access to the HttpSession resources and provides method that builds a XML tree for the data contained in the HttpSession.

See Also:
HttpSession

Field Summary
 
Fields inherited from class tomp.ext.Action
ACTION, application, previous, result
 
Constructor Summary
protected StartSessionAction(ServletAction previous)
           
  StartSessionAction(ServletAction previous, javax.servlet.http.HttpSession session)
           
 
Method Summary
 java.lang.Object getHere(java.lang.String s)
          Try to get a named parameter here.
 javax.servlet.http.HttpSession getSession()
           
 void put(java.lang.String s, java.lang.Object o)
           
 
Methods inherited from class tomp.ext.servlet.ServletAction
getPreviousServletAction, getRequest, getResponse, getServletApplication, getServletConfig, getServletContext
 
Methods inherited from class tomp.ext.Action
event2tree, execute, get, getApplication, getPreviousAction, hasParameter, id, init, isERROR, isOK, result, setParameter, setResult, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartSessionAction

protected StartSessionAction(ServletAction previous)

StartSessionAction

public StartSessionAction(ServletAction previous,
                          javax.servlet.http.HttpSession session)
Method Detail

getHere

public java.lang.Object getHere(java.lang.String s)
Description copied from class: Action
Try to get a named parameter here. If the object is not stored here, returns null.

Specified by:
getHere in class Action

put

public void put(java.lang.String s,
                java.lang.Object o)
Specified by:
put in class Action

getSession

public javax.servlet.http.HttpSession getSession()
Overrides:
getSession in class ServletAction