Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2003
    Location
    Delhi, India
    Posts
    16

    Unanswered: javax.servlet.* not found

    I am importing a package called
    import javax.servlet.*;
    but it shows me error that it doesnt find this package ..
    I have searched the src.zip file, it contains the javax folder but the javax folder doesnt contain the servlet folder inside it. please help me wut shud i do

  2. #2
    Join Date
    Oct 2003
    Location
    Slovakia
    Posts
    482

    Re: javax.servlet.* not found

    Originally posted by deep_ar78
    I am importing a package called
    import javax.servlet.*;
    but it shows me error that it doesnt find this package ..
    I have searched the src.zip file, it contains the javax folder but the javax folder doesnt contain the servlet folder inside it. please help me wut shud i do
    This seems you dont have servlet.jar in your java distribution.

  3. #3
    Join Date
    Dec 2003
    Location
    VietName
    Posts
    1
    You have to have a severlet.jar in Apache Tomcat. You can see :
    C:\Program Files\Apache Tomcat 4.0\common\lib
    You have to coppy file "servlet.jar" into "lib".
    After that you have to coppy that file into "C:\Program Files\j2sdk1.4.0\lib".

    I think you can run servlet.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •