Filedownload

2003-02-27 Thread Kavita Bansal
Title: Filedownload Hi How can I download a file from Web server to the client machine through cocoon. Thisis the way to be done in a servlet response.setContentType(APPLICATION/OCTET-STREAM); response.setHeader(Content-Disposition,attachment; filename=\+ filename + \);

HttpRequest

2003-01-23 Thread Kavita Bansal
Title: HttpRequest Hi I want to access the HttpRequest .getInputStream() method in my custom-made generator class which extends Composer Generator. For this i do the following in my code: Since in the generator we have objectModel available, i get the request obejct from it

Refer to request parameter in XSL

2003-01-03 Thread Kavita Bansal
Hi I am trying to refer to the variablesI pass in request query string in the XSL Forachieving itI have done this setting in the sitemap map:transformer logger="sitemap.transformer.xslt" name="xslt" pool-grow="2" pool-max="32" pool-min="8" src=""

How to generate multiple portal pages using Cocoon

2002-12-30 Thread Kavita Bansal
Hi I am working with cocoon version 2.0.4 on tomcat 3.3and jdk 1.3. I amrefering the sunshine portal example for making a website. Thesunspotdemoportal example ,which is included in this cocoon version, displays a portal page to the user afterhe user logs in. Thisportal page shows4-5