The second method is to implement a custom HttpServletResponse implementation and use it in getRequestDispatcher(...).forward(requrest, customResponse). Then you get the contents from your custom implementation! I tested it on a tomcat server running on a windows system and it worked ok. But the Iplanet server just rejected the custom implementation of HttpServletResponse! The error message is: servlet.NSRequestDispatcher.msg_invalidResClass.
Any ideas, or a working code would be highly appreciated!
Any ideas, or a working code would be highly appreciated!