How compile servlets ?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How compile servlets ?

  1. #1
    Giorgio Guest

    How compile servlets ?

    I tried to compile the simple servlet "Hello World" in the jswdk dev. kit.
    using the jdk1.2.1 SE. I added the javax.servlet.* and javx.sevlet.http.*
    packages to my class PATH . But tryng to compile I realize that I need some
    packages like sun.misc.Proxy and more. Where can I find them ? Are these
    packages in the JDK EE ?
    Thank you for your reply.

    Giorgio



  2. #2
    Omar Bounah Guest

    Re: How compile servlets ?


    Hi,
    i think that you had to put the location of the jsdk.jar file in you classpath
    not to put javax.servlet.* and javax.sevlet.http.*
    the classpath should be like that on windows platform:
    set classpath=c:_jsdk2.0\lib\jsdk.jar
    good luck
    bounah omar from Algeria

    "Giorgio" <bnf2@yahoo.it> wrote:
    >I tried to compile the simple servlet "Hello World" in the jswdk dev. kit.
    >using the jdk1.2.1 SE. I added the javax.servlet.* and javx.sevlet.http.*
    >packages to my class PATH . But tryng to compile I realize that I need some
    >packages like sun.misc.Proxy and more. Where can I find them ? Are these
    >packages in the JDK EE ?
    >Thank you for your reply.
    >
    >Giorgio
    >
    >



  3. #3
    Omar Bounah Guest

    Re: How compile servlets ?


    Hi,
    i think that you had to put the location of the jsdk.jar file in you classpath
    not to put javax.servlet.* and javax.sevlet.http.*
    the classpath should be like that on windows platform:
    set classpath=c:\jsdk2.0\lib\jsdk.jar
    good luck
    bounah omar from Algeria

    "Giorgio" <bnf2@yahoo.it> wrote:
    >I tried to compile the simple servlet "Hello World" in the jswdk dev. kit.
    >using the jdk1.2.1 SE. I added the javax.servlet.* and javx.sevlet.http.*
    >packages to my class PATH . But tryng to compile I realize that I need some
    >packages like sun.misc.Proxy and more. Where can I find them ? Are these
    >packages in the JDK EE ?
    >Thank you for your reply.
    >
    >Giorgio
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center