Created
August 12, 2015 22:53
-
-
Save JeremyMcCormick/fb75543c8fce7937a581 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
response.setContentType("text/html"); | |
final PrintWriter out = response.getWriter(); | |
out.println("<html><head><title>RunServlet</title></head>"); | |
out.println("<body bgcolor=\"white\"><h1>Hello Servlet World</h1>"); | |
out.println("</body></html>"); | |
out.close(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment