Generating an HTTP Servlet

  1. In the Application Navigator, select the project in which you want to create the new servlet.

  2. From the main menu, choose File then choose New, or right-click and choose New . The New Gallery opens.

  3. In the Categories tree, select Web Tier.

  4. In the Items list, double-click HTTP Servlet to launch the Create HTTP Servlet wizard.

  5. This wizard will create the servlet for you based on information you specify, including the methods and parameters for the servlet. Click the Help button to obtain context-sensitive help in the wizard panels.

A simple servlet is generated and appears in your active project. The deployment descriptor file web.xml is also added to your project. The deployment descriptor file is used by JDeveloper's embedded OC4J server when you run the servlet.


Implementing Basic Methods for an HTTP Servlet
Configuring Servlet Runtime Properties for the Web Deployment Descriptor
Testing and Debugging a Servlet
Packaging an ADF Business Components Web Application for Deployment
About HTTP Servlets