JSP Tutorial #6 – Java Server Pages Tutorial – Connecting Eclipse to Tomcat

In this video, I show you how to connect Eclipse to Tomcat.

Please SUBSCRIBE to my YouTube channel.



# Video
1 Introduction
2 JSP Overview
3 Setting up your Development Environment - Overview
4 Installing Tomcat
5 Installing Eclipse
6 Connecting Eclipse to Tomcat
7 JSP Hello World
8 JSP Expressions
9 JSP Scriptlets
10 JSP Declarations
11 Importing Java Classes
12 JSP Built-In Objects
13 Including Files

Do You Need More Details?

  • How to read form data with JSP?
  • How to use cookies and sessions?
  • Develop MVC application with JSP and Servlets?
I have a premium course that shows you how to complete all of these tasks.

Read more about the premium course at http://www.luv2code.com/jsp

Follow luv2code with the links below:

– Website: http://www.luv2code.com
– YouTube: http://goo.gl/EV6Kwv
– Twitter: http://goo.gl/ALMzLG
– Facebook: http://goo.gl/8pDRdA

JSP Tutorial Transcript:

Hey, welcome back. In this video I’m going to show you how to connect Eclipse and Tomcat. The main benefit is that we can start Tomcat from Eclipse. Also, it’ll make it very easy for us to deploy our web applications directly to Tomcat. All right, so let’s go ahead and move into Eclipse. What I’d like to do is move down to the bottom section, there’s a tab called servers, I’d like to click on that tab. At this point, we don’t have any servers associated with our Eclipse environment at the time, so what we need to do is click on this link and we’re going to add a new server. We’re going to add a new server that points to our Tomcat that we installed previously. All right, so here’s the defined new server. What I need to do is move up to the Apache Tomcat folder and expand it.

I basically need to scroll down through this list and find Tomcat 8.0, because that’s the one that we installed earlier. All right, so I have Tomcat 8 selected. This looks really good so far. What I’d like to do is go ahead and click the next button here on the screen, and then at this point I need to browse and tell Eclipse where Tomcat is installed. All right, so wherever you have Tomcat installed, you need to point to that directory. I’m going to make use of the default directory where Tomcat is installed. It’s under program files, Apache Software, Tomcat 8. This is the actual default directory where Tomcat was installed. All right, great, so once I have that selected I’ll go ahead and click on okay. It should give us the full path there for the Tomcat installation directory.

Again, I’m just using the default. Once I’m happy with this, I’ll go ahead and click on next. This screen here just talks about some other apps, don’t worry about it, just go ahead and click on finish. This will associate Tomcat with the Eclipse environment. If everything is successful down in the bottom center, you should see a reference for Tomcat 8. At this point it’s stopped, we haven’t started it yet. We’ll actually start it in some of the following videos when we start creating our web applications. Okay great, so if your Eclipse screen looks similar to this, that means you’re successful in setting up Tomcat within Eclipse. Good job. All right, so let’s go ahead and wrap up the video.

In this video I showed you how to connect Eclipse and Tomcat.

Did you like my blog post?

Signup now and receive an email when I publish new luv2code content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.


Leave a Reply