Home arrow Java arrow Page 4 - Getting Started with Java Web Development in Eclipse and Tomcat

Getting Started with Java Web Development in Eclipse and Tomcat

This is the first part of a series of Java Web development tutorials. It is intended to warm you up by introducing two fundamental Java web components, JSP and Servlet, and helping you prepare your development and deployment environments for the next steps.

Author Info:
By: Gangyi
Rating: 4 stars4 stars4 stars4 stars4 stars / 68
May 23, 2007
  1. · Getting Started with Java Web Development in Eclipse and Tomcat
  2. · Some Web Development Related Concepts
  3. · Downloads and Installations Required for This Tutorial
  4. · Start creating a web project with Eclipse

print this article

Getting Started with Java Web Development in Eclipse and Tomcat - Start creating a web project with Eclipse
(Page 4 of 4 )

Create workspace

From the Eclipse install directory (e.g., C:eclipse), double click eclipse.exe. A flash screen appears from the workspace Launcher; enter the directory as your workspace. This workspace directory is used as the content area for your projects as well as for holding any required metadata.

After it has started, you might want to close the welcome page and rearrange the workbench like this:

Create web project

From Eclipse menu bar, select file -> new -> project

Next in the "New Project" wizard, select Dynamic Web project under Web and click Next.

Enter your Project name and click the New button of the Target Runtime field

In the Target Runtime wizard, select Apache -> Apache Tomcat v5.0 and click Next.

In the next dialog, locate the Tomcat installation directory which is C:jakarta-tomcat-5.0.28 in my laptop. Click Ok on the File Dialog Window, then click Finish.

Click Finish in the Dynamic Web Project dialog. Accept the license agreement.

Click Yes for "Open Associated perspective."

Now you are ready to create web content such as HTML, JSP, and Servlets.

On Monday, we will finish creating our project and observe some of Eclipse's useful capabilities. You won't want to miss it!

DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

blog comments powered by Disqus

- Java Too Insecure, Says Microsoft Researcher
- Google Beats Oracle in Java Ruling
- Deploying Multiple Java Applets as One
- Deploying Java Applets
- Understanding Deployment Frameworks
- Database Programming in Java Using JDBC
- Extension Interfaces and SAX
- Entities, Handlers and SAX
- Advanced SAX
- Conversions and Java Print Streams
- Formatters and Java Print Streams
- Java Print Streams
- Wildcards, Arrays, and Generics in Java
- Wildcards and Generic Methods in Java
- Finishing the Project: Java Web Development ...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials