This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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
 
GeeCON Prague 2014
 
subject: Capture Output & DispatchRequester include (...)