Posts

Showing posts with the label Tomcat

How to deploy an application on Tomcat server in Eclipse

Image
In this blog post, I will be demonstrating how to deploy an application to Tomcat in Eclipse. In order to deploy a Maven application in Tomcat in Eclipse, you can follow the same steps. Step 1 – Setup Tomcat in Eclipse if not already setup. Refer to this blog post for detailed steps Step 2 – Right-click on “Tomcat Server” at the bottom and click Add/Remove: Step 3 – Select Your project name and click “Add”: Step 4 – Click on Finish. Step 5 – Start Tomcat by right-clicking and clicking on “Start”. If the server starts successfully, you should see a message similar to the following in the console:   Further Reading Fundamentals of Apache Tomcat Beginning with Eclipse IDE Apache Tomcat Beginners to Advanced Java Programming in Eclipse

How to setup Tomcat in Eclipse

Image
In this blog post, I will demonstrate how to set up Tomcat in Eclipse. Step 1 – Visit Tomcat Site and select Tomcat 9 Go to the Tomcat site – http://tomcat.apache.org/. Click on Tomcat 9 in the left pane as shown below: Step 2 – Download the appropriate version I will be downloading the 64-bit windows version Step 3 – Extract the contents of the zip file to an appropriate folder The zip file will contain a folder with the name as “apache-tomcat-9.0.19”. Copy this to an appropriate folder Step 4 – Open Eclipse. Go to servers tab Step 7 – Right click –> New –> Server Step 8 – Select Tomcat 9.0 Server Step 9 – Click Next. Select Tomcat installation directory and JRE 1.8. Step 10 – Click Finish Further Reading Fundamentals of Apache Tomcat Beginning with Eclipse IDE Apache Tomcat Beginners to Advanced Java Programming in Eclipse