The server tools feature supports the Apache Tomcat
runtime environment, running locally. With Tomcat, you can only test Web projects
that contain servlets and JSPs. To set up a server to test projects on Apache
Tomcat, complete the following:
Before you begin
Prerequisites- Download Apache Tomcat from jakarta.apache.org/tomcat
- Extract the compressed file containing Apache Tomcat on your local file
system.
- Add the Apache Tomcat runtimes. For details on how to do this, refer to
the Add the Apache Tomcat runtimes link on the bottom of this topic.
To create a Apache Tomcat server:
Procedure
- In the Servers view, right-click and select New > Server.
The Define a New Server wizard opens.
- In the Select the server type list, select
the Tomcat server defined in the previous step.
Tip: If
you did not specify the Tomcat install directory, the Define a New Server
wizard will prompt you for this information.
- Start the Tomcat server. In the Servers view, right-click
the Tomcat server and select Start.
- Test your setup of the Tomcat server.
- Open a Web browser.
- Type the Web address http://localhost:8080/.
If you see the Apache Tomcat start page, you have successfully set up your
Tomcat server.