How to send HttpServletResponse in the PrintWriter having an HTML structure to a jsp
- by kawtousse
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.