!--a11y-->
Loading a Servlet or JSP from
Files 
You use this procedure to add a servlet or a JSP components to a WAR file. The Deploy Tool enables you to choose among the Web components class files added as additional archive files.

Use this procedure to add numerous Web components simultaneously. It is easy and fast.
Before you can load Servlet/JSP from files, you must have:
· Specified the location of at least one Servlet or JSP file for that WAR file. For more information, see Managing Files and Directories.
· Set a project Java classpath. For more information, see Setting a Project Classpath.
1. Choose the J2EE Components tab.
2. Choose a WAR file from the available in the list.
3. Choose J2EE Components ® Add Servlet/JSP ® Add from Files. The Add Servlet and JSP dialog box appears. For each servlet or JSP that you have added for that WAR file, the dialog box lists the name of the file and the servlet or JSP name. Check the checkboxes in front of the names of the servlets and JSPs that will be used by the Server/JSP.

The list with the servlets and JSPs is taken from the ones, available in the files and directories under the Files tab.
4. Choose OK.
The Servlet/JSP appears at the J2EE Components tab as a Web archive subnode.
