> Is there any way to Redirecting out put of JSP to a StringBuffer?
> I mean i need to get all html content generated by a JSP to a
> String Buffer.
Simply put, no, not on the server side. The reason is because, the compiled
servlet (for the JSP) writes the response to an already opened connection.
However, you may do this from the client side (i.e., from the one making the request). You can try sending a request to this JSP from another servlet, and read the response.