• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help in extracting javax.servlet.*

 
ricky gonzalez
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Thanks!
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
JDK1.2\jre\lib\ext
directory - the compiler will automatically look there.
Bill
 
ricky gonzalez
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much Bill!!
 
lokesh reddy
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Loke.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic