blob: 9492d5426f7e3c1f689075c2af1fd7163fb09397 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Free-Form Project Properties Dialog Box: Web Sources Classpath</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="org.netbeans.modules.web.freeform.ui.WebClasspathPanel" name="org.netbeans.modules.web.freeform.ui.WebClasspathPanel"></a></p>
<div id="NBCSH4027"><!-- infolevel="all" infotype="General" --><a id="sthref533" name="sthref533"></a>
<h1>Free-Form Project Properties Dialog Box: Web Sources Classpath</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to alter the settings you entered when you created a standard Web project.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG378">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>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 <code dir="ltr">jsp-api.jar</code> and <code dir="ltr">servlet-api.jar</code> or the whole <code dir="ltr">j2ee.jar</code>, 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 <code dir="ltr">IDE-install-directory/enterprise/jakarta-tomcat-5.5.x/common/lib</code>.</p>
<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t40">Element</th>
<th align="left" valign="bottom" id="r1c2-t40">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t40" headers="r1c1-t40">
<p>Classpath</p>
</td>
<td align="left" headers="r2c1-t40 r1c2-t40">Lists the JAR files and folders that will be used by code completion and refactoring while editing the Web sources.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG384">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t40" headers="r1c1-t40">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Add JAR/Folder</p>
</td>
<td align="left" headers="r3c1-t40 r1c2-t40">Click to add a JAR or a folder to the adjacent pane. In the <b>Browse Jar or Folder</b> dialog that displays, navigate to and select the folder containing the JAR or folder you want to add, then click <b>Open</b>. The libraries are then added to the corresponding <b>Classpath</b> pane.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t40" headers="r1c1-t40">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Remove</p>
</td>
<td align="left" headers="r4c1-t40 r1c2-t40">Select an entry in the <b>Classpath</b> pane, then click the <b>Remove</b> button to delete it.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t40" headers="r1c1-t40">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Move Up</p>
</td>
<td align="left" headers="r5c1-t40 r1c2-t40">Select an entry in the <b>Classpath</b> pane, then click <b>Move Up</b> to have it listed higher in the pane.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t40" headers="r1c1-t40">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Move Down</p>
</td>
<td align="left" headers="r6c1-t40 r1c2-t40">Select an entry in the <b>Classpath</b> pane, then click <b>Move Down</b> to have it listed lower in the pane.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p><b>Notes:</b></p>
<ul>
<li>The Web Sources Classpath panel is applicable to web free-form projects only.</li>
<li>Like all settings in the Free-Form Project Properties Dialog Box, 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.</li>
<li>To add the build output of another IDE project to the classpath, add the project's JAR file to the classpath.</li>
</ul>
<a id="NBCSH4033" name="NBCSH4033"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG370">
<param name="text" value="<html><u>&quot;Using Java Project Templates&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1111">
<param name="text" value="<html><u>&quot;Configuring a Web Application&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>