This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setting classpath
 
Similar Threads
Running application from command mode (MS DOS WINDOW)
Web Application Architecture
class 1
how to use ClassLoader ???
Compiling, but not running !!!