FileDocCategorySizeDatePackage
ListOrdersAction.javaAPI DocExample774Thu Dec 04 08:19:26 GMT 2003org.springframework.samples.jpetstore.web.struts

ListOrdersAction

public class ListOrdersAction extends SecureBaseAction

Fields Summary
Constructors Summary
Methods Summary
protected 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)

    AccountActionForm acctForm = (AccountActionForm) form;
    String username = acctForm.getAccount().getUsername();
    request.setAttribute("orderList", getPetStore().getOrdersByUsername(username));
    return mapping.findForward("success");