wood burning stoves 2.0*
The moose likes Servlets and the fly likes What is the path and the classpath required for Servlet. 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 "What is the path and the classpath required for Servlet." Watch "What is the path and the classpath required for Servlet." New topic
Author

What is the path and the classpath required for Servlet.

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I am new to servlet. I want to now what should be the path and tha classpath for running a servlet.
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
I'm assuming that you are using tomcat. In tomcat\lib folder, there is a servlet.jar file. Add this jar file to your classpath.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What is the path and the classpath required for Servlet.
 
Similar Threads
Servlets
classpath and path
what is the different between PATH and CLASSPATH ?
package javax.servlet does not exist
path and class path