Total members 9952 | Gratitudes |It is currently Sat Feb 11, 2012 2:53 pm Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 1 post ] 
Author Question
 Question subject: Getting Servlet and JSP configured in eclipse
PostPosted: Fri Oct 24, 2008 7:51 pm 
Offline
Proficient
User avatar

Joined: Sun Oct 19, 2008 3:47 pm
Posts: 281
Has thanked: 0 time
Have thanks: 1 time

To run J2EE , first thing is you should install Tomcat (or any web
application server) .
You should have the plugin folder for the respective server. Place
the plugin folder in 'plugins' folder or eclipse.

Now, Eclipse has the three icons (i.e., start, stop and restrart )
displayed on its console. You can also see 'Tomcat' in the main
menu.Next thing is to give the path of tomcat to the eclipse.
You may follow the following steps:

In Eclipse console go to 'Windows'--->'Preferences'--->'Tomcat'.
Among the radiobuttons displayed for Tomcat versions select the
relevant radio button for you Tomcat.

Against the 'Tomcat home' give the path of your Tomcat home. For Eg:
D:\apache_Tomcat5

In the context declaration mode, select the 'Context files' option.
click apply and then OK.

Second step: Under Tomcat ...we have 'Advanced' options. In that
Advanced screen give the tomcat base against the Tomcat base.
Click 'Apply' and then 'OK'.

Now, the tomcat has been set.

Next thing is creating a project. This is similar to J2SE except we
have to select Tomcat Project. Or we can also proceed by selecting
Java Project and then creating WEB-INF folder.

After creating the project, right click on this folder which gives
the option to create servlet , jsp etc.


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 1 post ] 
Quick reply


  


 Similar topics
 Topic title   Forum   Author   Comments 
 Servlet & JSP  Servlets / JSP  Anonymous  1
 Download a PDF file using JSP or servlet  Servlets / JSP  cororo  6
 jsp and servlet  Servlets / JSP  Anonymous  1
 SERVLET/JSP DOUBT  Servlets / JSP  LAAVANYA  1
 servlet connectivity with ms access  Java  rinasharma  1

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 1 guest



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team