Hmmm, I didn't read about the request object in my Cocoon book. Where is it defined exactly? Do I need to import anything to use it?
Thanks again, Sonny --- "Nathaniel Alfred" <[EMAIL PROTECTED]> wrote: > > >>-----Original Message----- >>From: Sonny Sukumar [mailto:[EMAIL PROTECTED]] >>Sent: Montag, 14. Oktober 2002 21:56 >>To: [EMAIL PROTECTED] >>Subject: Simple XSP Ordering Problem >> >><Product> >> <xsp:logic> >> String productId = <xsp-request:get-parameter >>name="productid" default=""/>; >> </xsp:logic> >> ... > >Try: > > <xsp:logic> > String productId = request.getParameter("productid"); > if (productId == null ) productId = ""; > </xsp:logic> > >Cheers, Alfred. > >This message is for the named person's use only. It may contain >confidential, proprietary or legally privileged information. No >confidentiality or privilege is waived or lost by any mistransmission. >If you receive this message in error, please notify the sender urgently >and then immediately delete the message and any copies of it from your >system. Please also immediately destroy any hardcopies of the message. >You must not, directly or indirectly, use, disclose, distribute, print, >or copy any part of this message if you are not the intended recipient. >The sender's company reserves the right to monitor all e-mail >communications through their networks. Any views expressed in this >message are those of the individual sender, except where the message >states otherwise and the sender is authorised to state them to be the >views of the sender's company. > >--------------------------------------------------------------------- >Please check that your question has not already been answered in the >FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > >To unsubscribe, e-mail: <[EMAIL PROTECTED]> >For additional commands, e-mail: <[EMAIL PROTECTED]> _____________________________________________________________ Conserve wilderness with a click (free!) and get your own EcologyFund.net email (free!) at http://www.ecologyfund.com. _____________________________________________________________ Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>