aspose file tools*
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
Author

javax.servlet.* package

Ramesh Bhagasra
Greenhorn

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 src.zip 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.


Bosun (SCJP, SCWCD)
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
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

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.
bear
[ December 10, 2003: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.servlet.* package