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 Java 8 in Action this week in the Java 8 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Capture Output & DispatchRequester include (...)
 
Similar Threads
Oracle stored procedures
Strange thing!(Array init)
telnet out put
why do i get few junk characters in the XML response
How can a JSP be executed inside a Servlet and send output to String Buffer