How to add Servlet package

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tusharwinner
    New Member
    • Aug 2008
    • 1

    How to add Servlet package

    How to add Servlet package to the JDK????
    & where do i get this package ???
    Is there any specified link???
  • rajujrk
    New Member
    • Aug 2008
    • 107

    #2
    Hi just download the servlet.jar file in net

    and place it on ur java path given below

    ..\Java\jdk1.6. 0\jre\lib\ext\

    Now try it..

    Comment

    • ajos
      Contributor
      • Aug 2007
      • 283

      #3
      Originally posted by rajujrk
      Hi just download the servlet.jar file in net

      and place it on ur java path given below

      ..\Java\jdk1.6. 0\jre\lib\ext\

      Now try it..
      Servlet.jar and jsp.jar files are found in the tomcats directory or any other web app servers directory and not elsewhere. And nobody puts them in the jdk directory either. Go through a servlet tutorials and find out how to do it.

      regards,

      ajos

      Comment

      • rajujrk
        New Member
        • Aug 2008
        • 107

        #4
        Originally posted by ajos
        Servlet.jar and jsp.jar files are found in the tomcats directory or any other web app servers directory and not elsewhere. And nobody puts them in the jdk directory either. Go through a servlet tutorials and find out how to do it.

        regards,

        ajos
        Even both files are in tomcat directory, when trying to compile the servlet program it shows an error message that servlet package doesn't exists. So, place the servlet.jar file in the classpath already i said...

        Try it and reply..

        Comment

        Working...