Class SessionInfoAction

java.lang.Object
org.apache.struts.action.Action
org.dlese.dpc.schemedit.action.DCSAction
org.dlese.dpc.schemedit.action.SessionInfoAction

public final class SessionInfoAction extends DCSAction
Action supporting asynchronous exchange of information between UI and session, e.g., saving "collectionFilter" information that stored in the sessionBean and therefore accessible to any jsp page. The collectionFilter information is sent by the UI as an ajax request, and processed here, but no forward link is returned and therefore there is no noticable change of state in the UI.
Author:
Ostwald
  • Constructor Details

    • SessionInfoAction

      public SessionInfoAction()
  • Method Details

    • execute

      public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.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 org.apache.struts.action.Action
      Parameters:
      mapping - The ActionMapping used to select this instance
      form - The ActionForm for the given page
      req - The HTTP request.
      response - The HTTP response we are creating
      Returns:
      The ActionForward instance describing where and how control should be forwarded
      Throws:
      Exception - If error.
    • updateCollectionFilter

      protected void updateCollectionFilter(HttpServletRequest request)
    • 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