GeeCON Prague 2014*
The moose likes Servlets and the fly likes setting classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "setting classpath" Watch "setting classpath" New topic
Author

setting classpath

jaya S K
Greenhorn

Joined: Aug 18, 2003
Posts: 20
Hi
I am using j2sdk1.4.2_01.Can anyone tell me how to set the classpath to run servlets.
Regards
Jaya S K
Ryan Bailey
Ranch Hand

Joined: Feb 26, 2002
Posts: 134
In order to run servlets you need to obtain a servlet engine like Tomcat, Sun One Server, etc. I would highly recommend using Tomcat. You would get your questions better answered if you move this topic to the Tomcat forum. If you install Tomcat just make sure you have your enviromental variable JAVA_HOME defined. You will also need J2EE version and not the J2SE of Java. I believe J2EE comes packaged with Sun One Server.
Regards,
Ryan


SCJP 1.4, SCWCD
Java: The power, elegance, and simplicity of a hand grenade
vijaykumar shah
Greenhorn

Joined: Jul 02, 2003
Posts: 23
refer to
http://www.coderanch.com/t/357121/Servlets/java/classpath
u will get your answer ...
vijay
 
GeeCON Prague 2014
 
subject: setting classpath