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
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.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 |
StartSessionAction
protected StartSessionAction(ServletAction previous)
StartSessionAction
public StartSessionAction(ServletAction previous,
javax.servlet.http.HttpSession session)
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