# Importing class files to Web projects

You can use the Import wizard to add .class files to a Web project. With the wizard, you can import the class files from the directory system or from a JAR file or ZIP file. After you choose the class files that you want to import, the wizard creates an imported_classes folder, imports the specified class files to that folder, and adds the folder to the default classpath. You can navigate the imported_classes folder in the Project Explorer view.

You can drag and drop class files from the Windows® Explorer or desktop to the imported_classes folder in the Project Navigator view.

To import class files to a Web project using the wizard:

1. Right-click your Web project and select Import > Import Class Files ... from the pop-up menu. The Import wizard opens.
2. Specify whether you want to Import from directory or Import from ZIP or JAR and click Next.
3. Depending on whether you are importing from a directory or JAR file or ZIP file, in the Source field enter the full path of the directory, ZIP file, or JAR file that contains the .class files that you want to import. You can click the Browse button to locate the directory or file on your system.
4. Select the class files that you want to import.
5. Optional: If you have previously imported class files and do not want to be warned about overwriting resources with the same names, select Overwrite existing resources without warning.
6. Click Finish. The wizard imports the .class files to the imported_classes folder.

(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.