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...
Hi Everyone,
I want to capture the rendered html output of a jsp page and send it via email. I found two methods to do it but each had problems. I know there are people who already do it but I just don't know how they overcame these problems!
The first method is to open a url connection and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.