FileDocCategorySizeDatePackage
KathyServlet.javaAPI DocExample759Sat Jan 08 12:06:56 GMT 2005None

KathyServlet

public class KathyServlet extends HttpServlet

Fields Summary
Constructors Summary
Methods Summary
public voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)

	 PrintWriter out;
	 String title = "PhraseOMatic has generated the following phrase.";
         response.setContentType("text/html");
	 out = response.getWriter();

        out.println("<HTML><HEAD><TITLE>");
	out.println("PhraseOmatic");
	out.println("</TITLE></HEAD><BODY>");
	out.println("<H1>" + title + "</H1>");
	out.println("<P>" + PhraseOMatic2.makePhrase());
        out.println("<P><a href=\"KathyServlet\">make another phrase</a></p>");
	out.println("</BODY></HTML>");
        
	out.close();