import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class HelloWorld extends HttpServlet
{
	public void doGet(HttpServletRequest request,HttpServletResponse response)
			throws ServletException,IOException {
				
			response.setContentType("text/html");
			PrintWriter out = response.getWriter();
			out.print("<h1>Hello world</h1>");
	}
}
