There are several objects available for use in xsp, take
a quick look in the generated java, they should be documented
there.

J.

PS, folks: when you reply, *please* trim any excess off :)

> From: Sonny Sukumar [mailto:[EMAIL PROTECTED]]
> 
> 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:
> >>From: Sonny Sukumar [mailto:[EMAIL PROTECTED]]
> >>
> >><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.


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

---------------------------------------------------------------------
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]>

Reply via email to