# New Free-Form Project Wizard: Web Sources Classpath

Use to add libraries, such as tag libraries, that you use in JSP pages.

If you have not specified libraries containing the JSP and Servlet API (the `jsp-api.jar` and `servlet-api.jar` or the whole `j2ee.jar`, which contains both) in the Java Sources Classpath panel, you must specify these here. You need these API libraries for code completion in scriptlets in JSP pages. If you do not have your own API libraries, you can use those provided by the IDE at `IDE-install-directory/enterprise/jakarta-tomcat-5.5.x/common/lib`.

Element | Description
--- | ---
Classpath | Lists the JAR files and folders that will be used by code completion and refactoring while editing the Web sources.
Add JAR/Folder | Click to add a JAR or a folder to the adjacent pane. In the Browse Jar or Folder dialog that displays, navigate to and select the folder containing the JAR or folder you want to add, then click Open. The libraries are then added to the corresponding Classpath pane.
Remove | Select an entry in the Classpath pane, then click the Remove button to delete it.
Move Up | Select an entry in the Classpath pane, then click Move Up to have it listed higher in the pane.
Move Down | Select an entry in the Classpath pane, then click Move Down to have it listed lower in the pane.

Notes:

- Like all settings in the New Web Free-Form Project wizard, declaring the project's classpath does not change the actual classpath of your project as specified in your Ant script. These settings only configure your project to mirror your Ant script so that features such as code completion, error highlighting, and refactoring work correctly.
- To add the build output of another IDE project to the classpath, add the project's JAR file to the classpath.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.