= (Subsystem)(session.getAttribute("currentSubsystem"));
= (Subsystem)(session.getAttribute(Constants.SUBSYSTEM_ATTRNAME));
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);  }        // Find the Function specified by the "functionSelectList" parameter, and  // stash it in the Session.  HttpSession session = request.getSession();   Function currentFunction = null;  Category currentCategory = null;  String currentFunctionId = request.getParameter("functionSelectList");  Signet signet = (Signet)(session.getAttribute("signet"));  Subsystem currentSubsystem  	= (Subsystem)(session.getAttribute("currentSubsystem"));      if ((signet == null) || (currentSubsystem == null))  {    return (mapping.findForward("notInitialized"));  }  currentFunction  	= currentSubsystem.getFunction(currentFunctionId);  currentCategory = currentFunction.getCategory();  session.setAttribute("currentFunction", currentFunction);  session.setAttribute("currentCategory", currentCategory);  // Forward to our success page  return findSuccess(mapping);}