DeeWBee
DeeWBee

Reputation: 695

Starting Java Project in eclipse using Tomcat

I created a new Tomcat Apache Server v7.0 in Eclipse. I have a Java project which I need to run and host on this server in Eclipse. How do I run this project on the new server with the address stat.cmc.edu

Upvotes: 3

Views: 3909

Answers (1)

mattias
mattias

Reputation: 2108

Ok, this link gives a quite detailed explanation on how to start the Tomcat Server from within Eclipse and deploy your project onto it. Basically, it consists of these steps:

  • Start Eclipse, go to Help -> Install new software -> Choose The Eclipse Web Tools Platform -> Pick the latest SDK
  • Make sure your project is a Dynamic Web Project and configure its target runtime to be the Apache Tomcat
  • Configure the Tomcat Server, from within Eclipse/Your project
  • Run your project as "Run on Server"

Upvotes: 4

Related Questions