After installing Apache Tomcat and Eclipse, connecting these two is not a big deal. You need to simply follow the following steps. To view my post about how to install Apache Tomcat please go here.
STEP 1
Start Eclipse and go to the tab "Servers". Initially as we have no servers yet, this tab will be empty. Click the link to create a new server as shown below.
STEP 2
A new window will show up to define a new server. In the server list, expand the Apache folder and find the version that you want to use. Then you can go ahead by clicking "Next".
STEP 3
In the next window, you will define the name of the server and the path that your tomcat locates on your computer. Click "Browse" and specify the directory. And then you can hit the "Finish" button.
STEP 4
You are going to see the server you have just created under the "Servers" tab. You can right click on the server and select "Start" to start the server and test it.
Hope to see you in the next blog post.
Selen
No comments:
Post a Comment