Show TOC Start of Content Area

Procedure documentation Creating Servlets in the Developer Studio  Locate the document in its SAP Library 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 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.

       4.      Chose Finish.

 

                                                                                                                               

End of Content Area