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)
ItemForm frm = ( ItemForm ) form;
String itemId = frm.getItemId( );
getCart( request ).addItem( itemId );
return mapping.findForward( SUCCESS );
|