File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes javax.servlet.* package Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "javax.servlet.* package" Watch "javax.servlet.* package" New topic

javax.servlet.* package

Ramesh Bhagasra

Joined: Nov 21, 2003
Posts: 8
cant find the package javax.servlet.*;
cant compile the java code because of this. please help me out..i have already searched out the to locate javax.servlet package. but javax folder exists but the servelet inside javax does not. please help at ur earliest..
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
You have to download it separately if you haven't already. It's not part of the standard java package. Once that's done copy servlet.jar to "jdk directory\jre\lib\ext\" folder.

So much trouble in the world -- Bob Marley
Tim Baker
Ranch Hand

Joined: Oct 04, 2003
Posts: 541
if you have tomcat or probably any other container downloaded then you should find servlet.jar somewhere in the installation

Kim Jong II (North Korea's Dear Leader) said:Nuclear weapons don't kill people, people kill people.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63838

Tim is correct. However, different containers may name the jar file something other than servlet.jar (as Tomcat does). Resin names it jsdk23.jar, for example. Check the documentation of whatever servlet container you are planning to use.
[ December 10, 2003: Message edited by: Bear Bibeault ]

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: javax.servlet.* package
It's not a secret anymore!