session.setAttribute("currentSubsystem", currentSubsystem);
session.setAttribute(Constants.SUBSYSTEM_ATTRNAME, currentSubsystem);
  public ActionForward execute  	(ActionMapping				mapping,     ActionForm 					form,     HttpServletRequest 	request,     HttpServletResponse response)  throws Exception  {    // Setup message array in case there are errors    ArrayList messages = new ArrayList();    // Confirm message resources loaded    MessageResources resources = getResources(request);    if (resources==null)    {      messages.add(Constants.ERROR_MESSAGES_NOT_LOADED);    }    // If there were errors, forward to our failure page    if (messages.size()>0)    {      request.setAttribute(Constants.ERROR_KEY,messages);      return findFailure(mapping);    }        HttpSession session = request.getSession();     Signet signet = (Signet)(session.getAttribute("signet"));        if (signet == null)    {      return (mapping.findForward("notInitialized"));    }            // Find the PrivilegedSubject specified by the "grantee" parameters, and    // stash it in the Session. If those parameters are not present, then    // it must already be stashed in the Session by some prior action.    String granteeSubjectTypeId = request.getParameter("granteeSubjectTypeId");    String granteeSubjectId = request.getParameter("granteeSubjectId");    PrivilegedSubject currentGrantee;    if (granteeSubjectId != null)    {      currentGrantee      	= signet.getPrivilegedSubject(granteeSubjectTypeId, granteeSubjectId);      session.setAttribute("currentGranteePrivilegedSubject", currentGrantee);    }    else    {      currentGrantee      	= (PrivilegedSubject)      			(session.getAttribute("currentGranteePrivilegedSubject"));    }        String currentSubsystemId = request.getParameter("subsystemId");    Subsystem currentSubsystem;    if (currentSubsystemId == null)    {      currentSubsystem      	= getFirstSubsystemOfReceivedAssignments(currentGrantee);    }    else    {      currentSubsystem = signet.getSubsystem(currentSubsystemId);    }    session.setAttribute("currentSubsystem", currentSubsystem);        // Forward to our success page    return findSuccess(mapping);  }