How to send HttpServletResponse in the PrintWriter having an HTML structure to a jsp

Posted by kawtousse on Stack Overflow See other posts from Stack Overflow or by kawtousse
Published on 2010-04-05T10:44:09Z Indexed on 2010/04/05 10:53 UTC
Read the original article Hit count: 294

Filed under:

I am trying to send a table in html code to a jsp using

response.setContentType("text/html");  
PrintWriter out = response.getWriter();
out.println("<html>").....

then using response.sendRedirect(jsp name) to send the table to the jsp;

But this is never worked with me and I have a doubt that the printwriter has a specific manipulation with servlet jsp communication.

© Stack Overflow or respective owner

Related posts about servlets