Package xpetstore.web.struts.action.item

Examples of xpetstore.web.struts.action.item.ItemForm


                                       ActionForm          form,
                                       HttpServletRequest  request,
                                       HttpServletResponse response )
        throws Exception
    {
        ItemForm frm = ( ItemForm ) form;
        String   itemId = frm.getItemId(  );

        getCart( request ).addItem( itemId );

        return mapping.findForward( SUCCESS );
    }
View Full Code Here


                                       ActionForm          form,
                                       HttpServletRequest  request,
                                       HttpServletResponse response )
        throws Exception
    {
        ItemForm frm = ( ItemForm ) form;
        String   itemId = frm.getItemId(  );

        getCart( request ).removeItem( itemId );

        return mapping.findForward( SUCCESS );
    }
View Full Code Here

TOP

Related Classes of xpetstore.web.struts.action.item.ItemForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.