FileDocCategorySizeDatePackage
Thrower.javaAPI DocExample777Thu Apr 17 13:39:40 BST 2003com.jspservletcookbook

Thrower

public class Thrower extends HttpServlet

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


    doPost(request,response);
public voiddoPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)

        
/* Use the ServletRequest.getParameter(String name), getParameterMap(), getParameterNames(), or getParameterValues() methods in the servlet's doPost method*/

      throw new java.io.IOException("IO thrown");
	  //  throw new java.lang.IllegalStateException("IllegalStateException thrown by thrower.");
	   //response.sendError(403);