CodesJava

Easy learning with example program codes

How to write html contents using servlets?


Get the object of PrintWriter using request and print html.

PrintWriter out = response.getWriter();
out.println("Hello World");

Related topics

Sign Up/ Sign In
Ask a Question


Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki