jonmor
Apr 21st, 2006, 07:45 AM
I have the feeling that this must be very straightforward but I can't see how to do it. I have a controller with a handleRequest where, instead of handing off to the ModelAndView for rendering (using JSP), I actually want to capture the rendered response and do something further with it. That is, effectively use RequestDispatcher.include() instead of RequestDispatcher.forward(). Now, I know I could probably do this by actually using RequestDispatcher.include() in the controller, but I am certain there must be a more Spring-like way to do this, using the view resolver machinery. Any tips?