-
redirecting an outputstream
Hi,
We are using Cocoon to generate a pdf file using XML and the number of pages
the file contains depends on user input.
The problem is that for legal reasons we need to have a footer with Page
1 of 6, Page 2 of 6 etc...
Engine cocoonEngine = Engine.getInstance();
CocoonServletRequest myReq = new CocoonServletRequest(mS_XMLFile, aHSRq_request);
aHSRp_response.setContentType("application/pdf");
cocoonEngine.handle(myReq, aHSRp_response);
We need to be able to parse the file generated by cocoon, but we haven't
managed to find a way to redirect the output from the cocoon Engine.
Does anyone have any ideas?
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks