Meaningless Drivel is fun!*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "setting classpath" Watch "setting classpath" New topic

setting classpath

jaya S K

Joined: Aug 18, 2003
Posts: 20
I am using j2sdk1.4.2_01.Can anyone tell me how to set the classpath to run servlets.
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.

Java: The power, elegance, and simplicity of a hand grenade
vijaykumar shah

Joined: Jul 02, 2003
Posts: 23
refer to
u will get your answer ...
I agree. Here's the link:
subject: setting classpath
Similar Threads
class 1
Compiling, but not running !!!
how to use ClassLoader ???
Running application from command mode (MS DOS WINDOW)
Web Application Architecture