File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Capture Output & DispatchRequester include (...) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Capture Output & DispatchRequester include (...)" Watch "Capture Output & DispatchRequester include (...)" New topic
Author

Capture Output & DispatchRequester include (...)

Dave Dillon
Greenhorn

Joined: Nov 03, 2001
Posts: 3
I am prototyping a portal and porlet framework, and I want to capture the output of a JSP that is included using DispatcherRequester.include. I have created a ServletResponseWrapper sub-class that provides its own ServletOutputStream and PrintWriter, but during execution, these are ignored, and the output somehow goes directly to the original output stream. Very perplexing
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Capture Output & DispatchRequester include (...)
 
It's not a secret anymore!