java left logo
java middle logo
java right logo
 


 
 
Main Menu
Home
Java Tutorials
Book Reviews
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Java Network
Java Forums
Java Blog




Most Visited Tips
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Book Reviews
Top Rated Tips
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Book Reviews


Statistics
Registered Users: 4093
Java SE Tips: 614
Java ME Tips: 202
Java EE Tips: 183
Other API Tips: 779
Java Applications: 298
Java Libraries: 209
Java Games: 16
Book Reviews:
 
 
 
Introduction to Java Servlets with Eclipse E-mail
User Rating: / 1363
PoorBest 

Creating Server Definition in Eclipse 3.1.2

If you have configured the server, you may skip this step.

After you click on New button to choose a new server, another wizard should be displayed on top of the existing wizard. In this wizard, you are asked what server you wish to use. For our tutorial, we should use Apache Tomcat 5.5 so you need to select Apache Tomcat v5.5 from the list and press Next button.

From the illustration below, it is obvious that there are other servers available for you to select such as Bea WebLogic, JBoss and etc.



Image

In the next wizard, we are required to provide the information on where our Apache Tomcat is located. In my machine, I extracted it on C:\tomcat-5.5.16 so I got to click on the Browse button on right side of the Tomcat installation directory textbox and we need to select the Tomcat folder for it. Additionally, you also need to provide on what Java Run Time (JRE) you want to use. If you have installed Java Development Kit (JDK), it should also install JRE automatically. Eclipse should be able to auto-detect and should provide you few options in the list. Choose the JRE that is installed together with the installation of your Java Development Kit (JDK). You can press Finish button and our serverís configuration is completed.



Image

Back to our Dynamic Web Project configuration, after configuring the server, we should have Tomcat 5.5 as one of the options in the combo box for Target Runtime. Please select the server that you just recently added or have configured and press Next button.



Image

Next wizard is shown. We can ignore them and keep them as default. Press Next button.



Image

Now, we are in the last step of our Dynamic Web Project configuration. For this wizard, you should not modify the Context Root albeit you are allowed to do so as to understand the concept of context root may be puzzling. You can leave them as default and when you are more familiar with Java programming, you may try to play around with it.

You can amend the Content Directory with any name that you wish. Normally, J2EE Developers will name it the same as the Project Name to increase the maintainability of the project. For this tutorial, we are not going to change it and we are going to keep it as default - WebContent. For your information, this directory is the place where all the deployment descriptor, JSP files, other configuration files are located. Press Finish button and we have completed our Dynamic Web Project configuration.



Image

You should be able to see something like below illustration.



Image



 
< Prev   Next >
Posted by Prabhu, prabhurangasamy@gmail.com on Tuesday, 27 June 2006 at 9:17

Hai guys. This is the best, best, best website which gives me an idea for using the webtools platform of eclipse.


 1 
Page 1 of 1 ( 1 comments )

You can share your information about this topic using the form below!

Please do not post your questions with this form! Thanks.


Name (required)


E-Mail (required)

Your email will not be displayed on the site - only to our administrator
Homepage(optional)



Comment Enable HTML code : Yes No



 
       
         
     
 
 
 
   
 
 
java bottom left
java bottom middle
java bottom right
RSS 0.91 FeedRSS 1.0 FeedRSS 2.0 FeedATOM FeedOPML Feed

Home - About Us - Privacy Policy
Copyright 2005 - 2008 www.java-tips.org
Java is a trademark of Sun Microsystems, Inc.