Show TOC

Creating Servlets in the Developer StudioLocate this document in the navigation structure

Prerequisites

A Dynamic Web Project exists.

Procedure


  1. In the Project Explorer , select the Dynamic Web Project.

  2. In the context menu, choose NewServlet .

  3. Throughout the wizard pages, enter the servlet settings as required.

    Note

    To access the servlet, you need to add servlet mapping. If you have not added mapping, you can request the servlet via its class name after you set the value of the EnableInvokerServletGlobally property of servlet_jsp service to true . This applies for development mode only. In production mode, this property must be set to false and you have to create appropriate mapping for the servlet.

  4. Chose Finish .