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

public class HelloWorld extends HttpServlet {
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException{
    	response.setContentType("text/html");
   	PrintWriter out = response.getWriter();
    	out.println("<html>");
    	out.println("<head>");
    	out.println("<title>HELLO WORLD!!!</title>");
    	out.println("</head>");
    	out.println("<body>");
    	out.println("<center><h1>Tere maailm</h1></center><br/>");
    	out.println("<a href=\"../index.html\">tagasi</a>");
    	out.println("</body>");
    	out.println("</html>");
    }
}



