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

    Join Date
    May 2001
    Location
    Florida
    Posts
    0
    Rep Power
    0

    Unhappy Need help...just starting with Servlets


    I have installed J2SE JDK 1.3.0_02 and also have installed IBM VisualAge for Java, Tomcat, and TextPad Java editor/compiler. Inside VA, I can add the Sun Servlet API and develop/test servlets. I cannot, however, compile those servlets in the TextPad editor/compiler.

    My main question is this:
    How do I add the Sun Servlet API to the J2SE JDK so that I can access it in all my environment?

    TIA!

    Bob Hitchins
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Location
    Rep. of Ireland
    Posts
    2
    Rep Power
    0
    In the Servlet API there is a JAR file called servlet.jar
    You need to copy this to the JRE extensions library.

    I'm not sure with JDK1.3, but with 1.2 the path was

    [drive]:/JDK/JRE/LIB/EXT
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Indonesia
    Posts
    87
    Rep Power
    15
    or you can add the path to your servlet.jar to the CLASSPATH.
    ** Science belongs to the world **

IMN logo majestic logo threadwatch logo seochat tools logo