FileDocCategorySizeDatePackage
SecureAction.javaAPI DocExample1411Tue Aug 31 14:58:14 BST 2004com.oreilly.strutsckbk.ch11

SecureAction

public abstract class SecureAction extends org.apache.struts.action.Action

Fields Summary
Constructors Summary
Methods Summary
public abstract org.apache.struts.action.ActionForwarddoExecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.webapp.example.User user)

public org.apache.struts.action.ActionForwardexecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)

        HttpSession session = request.getSession();
        User user = (User) session.getAttribute(Constants.USER_KEY);
        if (user == null) return (mapping.findForward("logon"));
        return doExecute(mapping, form, request, response, user);