Configuring Tomcat in Eclipse

We will perform the following steps to configure Tomcat in Eclipse:

  1. In the Java EE perspective of Eclipse, you will find the Servers tab at the bottom. Since no server is added yet, you will see a link in the tab as shown in the following screenshot—No servers are available. Click this link to create a new server...
Figure 2.1: The Servers tab in Eclipse JEE
  1. Click the link in the Servers tab to add a new server.
  2. Expand the Apache group and select the Tomcat version that you have already installed. If Eclipse and the Tomcat server are on the same machine, then leave Server's host name as localhost. Otherwise, ...

Get Java EE 8 Development with Eclipse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.