When you install a version of the IDE that contains Java EE technologies, you can choose to install and register the Tomcat Web Server during the installation process. 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:
To deploy to the target server:
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.