Difference between revisions of "Hello Web with Tomcat"

From Progzoo
Jump to: navigation, search
(Download Tomcat)
(Download Tomcat)
Line 7: Line 7:
 
**You just need to point Eclipse to the file location and it will take care of the installation
 
**You just need to point Eclipse to the file location and it will take care of the installation
 
**If you need to run tomcat outside Eclipse you will need to read some documentation
 
**If you need to run tomcat outside Eclipse you will need to read some documentation
 +
<br clear=all>
 +
==From Eclipse, start a new project==
 +
[[Image:Eclipse_New_Project_Dynamic_Web.png|thumb]]
 +
*File / Project / Web / Dynamic Web Project
 +
 +
<br clear=all>
 +
==Run time environment==
 +
[[Image:Eclipse_New_Dynamic.png|thumb]]
 +
*You need to specify the '''Project name''' and the '''Target runtime'''
 +
*Name your project '''HelloWeb'''
 +
*Click '''New Runtime'''
 +
 +
<br clear=all>
 +
==New Runtime==
 +
[[Image:Eclipse_Runtime_Env.png|thumb]]
 +
*Choose the runtime that matches the version you downloaded (7.0)
 +
*In the next step you specify the folder

Revision as of 02:49, 16 November 2013

Complete Hello World in Eclipse before starting this.

Download Tomcat

Eclipse Tomcat Download.png
  • Unzip it to somewhere convenient
    • for example C:\
  • No need to install anything - Eclipse will take care of it
    • You just need to point Eclipse to the file location and it will take care of the installation
    • If you need to run tomcat outside Eclipse you will need to read some documentation


From Eclipse, start a new project

Eclipse New Project Dynamic Web.png
  • File / Project / Web / Dynamic Web Project


Run time environment

Eclipse New Dynamic.png
  • You need to specify the Project name and the Target runtime
  • Name your project HelloWeb
  • Click New Runtime


New Runtime

Eclipse Runtime Env.png
  • Choose the runtime that matches the version you downloaded (7.0)
  • In the next step you specify the folder