aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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.