Deploying to a Registered Tomcat Web Server
See Also
When you install the IDE, the installer automatically registers the bundled Tomcat
Web Server with the IDE. You can also configure the IDE to deploy web applications to other
installations of supported versions of the Tomcat Web Server. These versions need to be
registered first.
Use the following steps to check that the Tomcat Web Server is the target server
for the current application.
To check the target server:
- Right-click the project node in the Projects window and choose Properties.
- Select Run in the Project Properties dialog box.
- Look at the target server specified in the Server drop-down. Verify that
it is the one you want to use. Select a different server if necessary.
- Click OK.
To deploy to the target server:
- (Optional) Define parameters
to pass to one or more JSP files.
- In the Projects window, right-click the project's node.
- Choose Run Project from the contextual menu.
The IDE sends the web application's URL to the server. The URL is derived from
the server's URL and the web application's context path.
The server runs through the files listed in the welcome-file-list element
in the deployment descriptor (the web.xml file), displaying the
first one it finds.
If the server does not find a welcome file, the server's default servlet
displays the root of the web application. You can change the behavior of the default
servlet in the web.xml file.
- See Also
- About the Tomcat Web Server
- Viewing the Tomcat Web Server in the IDE
- Customizing the Tomcat Web Server
- Customizing the Tomcat Configuration File
Legal Notices