1) The browser interprets your output as text, try adding
response.setContentType("text/html");
This line tells the browser that you are submitting HTML and that it should be interpreted in this way.
2) Same as bold text
out.println("<a href=\"upload.jsp\">Go to JSP form</a>");
, Servlet HTML- . , HTML.
JSP, JSP, .
:
1) servet_output.jsp
<b>My bold test</b>
<a href="upload.jsp">Go to JSP form</a>
2) JSP:
request.getRequestDispatcher("servlet_output.jsp").forward(request, response);
, , JSP .