FileDocCategorySizeDatePackage
ApiSearch.javaAPI DocExample947Sun Feb 08 21:33:54 GMT 2004None

ApiSearch

public class ApiSearch extends HttpServlet

Fields Summary
Constructors Summary
Methods Summary
public voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
Called in response to a GET request (data encoded in the URL)


		resp.setContentType("text/html");
		PrintWriter out = resp.getWriter(); 

		// logic code and main HTML goes here.

		// Forward to "apisearchresults.jsp"
	
public voiddoPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
Called in response to a POST request (data unencoded on the socket)


		doGet(req, resp);
	
public voidinit()
Set up the Servlet

		// Get a database connection?