#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Posts
    11
    Rep Power
    0

    Can't Find Javax.servlet.*


    Help!

    I can't find javax.servlet.* and javax.servlet.http.*
    and I have amended the classpath with
    E:\Tomcat\jakarta-tomcat-4.0.1\common\lib\servlet.jar
    have even tried
    .;E:\Tomcat\jakarta-tomcat-4.0.1\common\lib\servlet.jar

    Could you please tell me what I'm doing wrong.
    thank you in advance
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Location
    Boston, MA
    Posts
    30
    Rep Power
    57
    You can also compile with classpath option:

    javac -classpath /Tomcat/jakarta-tomcat-4.0.1/common/lib/servlet.jar MyClass.java

    Try this:

    http://www.moreservlets.com/Using-Tomcat-4.html
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Location
    Boston, MA
    Posts
    30
    Rep Power
    57
    You can also compile with classpath option:

    javac -classpath /Tomcat/jakarta-tomcat-4.0.1/common/lib/servlet.jar MyClass.java

    Try this:

    http://www.moreservlets.com/Using-Tomcat-4.html

IMN logo majestic logo threadwatch logo seochat tools logo