Show TOC Start of Content Area

Procedure documentation Creating the Servlet Files Locate the document in its SAP Library structure

Use

In this step you create the new servlet files.

Procedure

....

       1.      Choose the source folder. Open the context menu and choose New ® Servlet.

       2.      In the New dialog that appears, specify the Servlet Name of the servlet. As the default Servlet Package for the servlet, specify com.sap.engine.examples.javamail.servlet.

       3.      To generate the servlet, choose Finish.

       4.      To save and compile the servlets, from the menu path choose File ® Save all.

Note

To compile the SendMailUsingEJB.java servlet, you will have to point to the JavaMail project in the classpath. For more information about how to set the classpath to the required libraries and packages, see Setting Classpath and Compiling Sources.

 

Result

The new servlet is added to the project.

Next Step

Create the next servlet required for the tutorial. When finished, continue with HTML Files.

 

 

End of Content Area