Adding Tomcat Server to Eclipse

Adding Tomcat 8 Server to Eclipse

I have a fresh Eclipse for this video and have tomcat 8 pre-downloaded. I am making this video on Ubuntu machine.

Step 1:-

Open J2EE perspective in Eclipse if not open by default

Step 2:-

Download Tomcat and extract it. I am using tomcat 8 for this video.

Step 3:-

Go to server view in Eclipse and Add the server.

Step 4:-

Open http://localhost:8080/ in your web browser to check if tomcat is running.

If on starting server you are getting 404. Then you need to change tomcat setting in "Server Location" a bit and make it to Use Tomcat Installation.

Good to Go.

Check all the steps in this video.