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. |