Show TOC

Procedure documentationCreating Servlets in the Developer Studio Locate 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 Note

    To access the servlet, you need to add servlet mapping. If you have not added mapping, you can be able to 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.

    End of the note.
  4. Chose Finish.