/******************************************************************** * * Hello.java * * A simple sevlet that returns a single page. * It looks for a binding called "param" and if present incorporates * it into its response. * ********************************************************************/ import java.io.*; import java.text.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class Hello extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.println(""); out.println("
"); String title = "Hello World"; out.println("