About Configuring Web Applications

See Also

You configure your web applications at several different levels.

Project Contents and Classpath

Basic project settings like the web application's source roots and classpath are set in the application's Project Properties dialog box. You open this dialog box by right-clicking the web application's project node and choosing Properties.

For standard projects, you can add source roots in the Sources page of the Project Properties dialog box. You can quickly add to the compilation and test classpath by right-clicking the Libraries or Test Libraries node in the Projects window. To further configure the classpath, or to specify which items should be included in deployment, use the Libraries page of the Project Properties dialog box.

For free-form projects, there are no Libraries or Test Libraries nodes. The classpath and source roots are managed completely by your project's Ant script. In the Java Sources and Java Sources Classpath pages of the Project Properties dialog box, you just configure the project to match the settings that already exist in your Ant script. This tells the IDE which classes to offer for debugging, code completion, and so forth.

Deployment Settings

There are several key steps to configuring deployment settings:

See Also
About Web Applications
About Deployment Descriptors
Configuring Web Application Deployment Descriptors

Legal Notices