DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  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
    >
    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links