How to deploy java web application on tomcat server in eclipse ?

We have already discussed Java Web Application in our previous posts.In this post, we will learn to run Java web application on Apache tomcat in eclipse.We tried to keep it very simple including multiple screen shots.


  1. Create a Dynamic Web Project in Eclipse.
how to deploy web application in tomcat using eclipse

2-Add index.jsp file in the WebContent folder so that when we run the project on the server it should not give an error.

3- Goto to server tab and click on the link highlighted below to add new Apache Tomcat Server.

how to deploy web application in tomcat using eclipse



4- Select the Apache Tomcat server and click on next button.

how to deploy project in tomcat using eclipse

5- Specify the tomcat installation directory.Here it is 

D:\SOFTWARE\Latest64bit Development Kit\apache-tomcat-8.0.33

javainstance

6- Click on next button and add the project on the server.

javainstance

7- Modify the build path of the project to add server runtime library.

javainstance

8- Apply the changes and run the project on the server.

javainstance

Still, have a doubt ! Watch video to get clarified.



Convert date and time in Java

Give your suggestion in comments.
If you like the post Share with your friends on social network.


How to deploy java web application on tomcat server in eclipse ? How to deploy java web application on tomcat server in eclipse ? Reviewed by JavaInstance on 11:18:00 AM Rating: 5

No comments:

Powered by Blogger.