protected org.apache.struts.action.ActionForward | doExecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
CustomerForm frm = ( CustomerForm ) form;
String userId = ( String ) request.getSession( ).getAttribute( USERID_KEY );
Customer cst = getPetstore( ).getCustomer( userId );
frm.setCustomer( cst );
return mapping.findForward( SUCCESS );
|