trying to run jsp through eclipse
guys i am using java 1.6 and eclipse 3.7 and have recently installed tomcat 7 and i want to develop the jsp files. But there is no server tab in my eclipse to incorporate tomcat7.
Guys may be I'm missing my basics................. Any help ............????? |
Eclipse is the platform. You have to install J2EE, I guess JST, WST etc... I don't remeber names of all those plugins and features :-D The most easy way, go to http://www.eclipse.org/downloads/pac...pers/indigosr1 and download Eclipse (for J2EE developers).
When it is installed, go to Window -> Preferences -> Server -> Runtime Enviroment Add your server architecture (tomcat7) and the tomcat home direcotry (NOT '/xxxx/xxxx/tomcat/bin', but '/xxxx/xxxx/tomcat'). Add a new project, check Web -> Dynamic Web Project When project is created, choose in context menu (right mouse button): Run as -> Run on server Select your tomcat server and run it if it works, it open Eclipse internal browser by default, it runs on http://localhost:8080/myProjectCaseSensitiveName/ |
All times are GMT -5. The time now is 08:14 AM. |