This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: setting classpath
It's not a secret anymore!