Use to alter the settings you entered when you created a standard Web project.
In the Web Sources Classpath panel, you can 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:
Related Topics
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |