Skip to main content

Sending text/html Response

Learn Sending text/html Response (Handling Req & Res, JSP Servlets) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

What is text/html Response? text/html tells the browser that the response contains HTML content. • Used to display web pages • Must set content type before writing output • Uses PrintWriter

More lessons in Handling Req & Res