1.

How to write html contents using servlets?

Answer»

Get the object of PrintWriter using request.

PrintWriter out = response.getWriter();

Now print html.

out.println("Hello World");


Discussion

No Comment Found