I'm now trying to clear the last few hurdles in building the core architecture for the port. In the perl version of the front-end, we capture the output of the template processing and run a simple set of regexes over it to remove all of the whitespace that will be ignored by the browser. Currently, I am doing the vast majority of the work, such as setting up sessions and getting data from the middle-tier, in a servlet, which is invoked through the URL via apache and srun, and then passing that data along to the jsp page via the RequestDispatcher's forward method. However, I can't figure out a way to set my own ServletOutputStream for use by the jsp servlet. My hunch is that I'll need to invoke the jsp servlet directly, but even then I'm at a loss as to how I will capture the output and then send it down to the client.
Any advice is much appreciated.
I'm trying to gauge the community interest in such a move.