GBONGIOVANO
Programmer
In reference to newlines. In netscape and opera each line of my servlet prints correctly however in Internet Explorer its just one long string.
I've reloaded it, pressed enter, and even deleted the Internet files and the class file and recompiled. I have the latest Internet explorer 6 w/ sp1.
Thanks,
Here's my code
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class helloWorld extends HttpServlet {
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
PrintWriter out = response.getWriter();
out.println("Hello World \n"
out.println("Testing\n"
out.println("Newlines\n"
}
}
I've reloaded it, pressed enter, and even deleted the Internet files and the class file and recompiled. I have the latest Internet explorer 6 w/ sp1.
Thanks,
Here's my code
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class helloWorld extends HttpServlet {
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
PrintWriter out = response.getWriter();
out.println("Hello World \n"
out.println("Testing\n"
out.println("Newlines\n"
}
}