aspose 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


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
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
 
Don't get me started about those stupid light bulbs.
 
subject: Capture Output & DispatchRequester include (...)