Implementing Basic Methods for an HTTP Servlet

When you use the Create HTTP Servlet wizard to create an HTTP servlet, the wizard creates a Java class for the servlet. This class contains an initialization method and the HTTP methods you specified for the servlet when using the wizard. To customize the servlet, you must implement the servlet's HTTP methods.

The following methods are available from the Create HTTP Servlet wizard:

JDeveloper creates skeleton code for these methods. These methods take two objects as arguments: HttpServletRequest and HttpServletResponse.

You can also pass in additional parameters and get them programmatically by calling the ServletRequest.getParameter method within your servlet's Java code.


Using the HTTPServletRequest Object
Using the HTTPServletResponse Object

About HTTP Servlets