Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Servlets and the fly likes Help in extracting javax.servlet.* Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Help in extracting javax.servlet.*" Watch "Help in extracting javax.servlet.*" New topic

Help in extracting javax.servlet.*

ricky gonzalez
Ranch Hand

Joined: Jun 30, 2000
Posts: 167
Hi, I am confused about extracting the javax.servlet.* package. Where should I extract the files to? And should I compile them myself? I know these are really dumb questions, but can someone please help me?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
If you are talking about the servlet.jar file, don't extract the classes. This is a "standard extension" package so place the jar file in the:
directory - the compiler will automatically look there.
ricky gonzalez
Ranch Hand

Joined: Jun 30, 2000
Posts: 167
Thank you so much Bill!!
lokesh reddy
Ranch Hand

Joined: Sep 15, 2000
Posts: 66
There is no need to extract the above mentioned package. Just as soon as you install the jsdk2.x, set your classpath as follows
set classpath=.;c:\jsdk2.x\lib;
if your are using windows 95, you can set this path in autoexec.bat file. Or else, if u r using Windows Nt then you have to do this in controlpanel->sytem->classpath.
After setting the classpath, just reboot ur system.
That's all and you will find your program running without any errors.
If hope, u find this info useful.
I agree. Here's the link:
subject: Help in extracting javax.servlet.*
It's not a secret anymore!