Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.servlet.* package

 
Ramesh Bhagasra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tim Baker
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you have tomcat or probably any other container downloaded then you should find servlet.jar somewhere in the installation
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64632
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic