org.dlese.dpc.schemedit.action
Class SessionsAction
java.lang.Object
org.apache.struts.action.Action
org.dlese.dpc.schemedit.action.DCSAction
org.dlese.dpc.schemedit.action.SessionsAction
public final class SessionsAction
- extends DCSAction
Action supporting session reporting.
- Author:
- Ostwald
| Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionsAction
public SessionsAction()
execute
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest req,
HttpServletResponse response)
throws Exception
- Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web
component that will create it). Return an
ActionForward instance describing where and how
control should be forwarded, or null if the response has already been completed.
- Overrides:
execute in class Action
- Parameters:
mapping - The ActionMapping used to select this instanceresponse - The HTTP response we are creatingform - The ActionForm for the given pagereq - The HTTP request.
- Returns:
- The ActionForward instance describing where and how control should be forwarded
- Throws:
Exception - If error.
getDateStamp
protected static final String getDateStamp()
- Return a string for the current time and date, sutiable for display in log files and output to standout:
- Returns:
- The dateStamp value
setDebug
public static void setDebug(boolean db)
- Sets the debug attribute of the object
- Parameters:
db - The new debug value