Results 1 to 5 of 5

Thread: A couple Servlet Questions

  1. #1

    Thread Starter
    Addicted Member TheGoldenShogun's Avatar
    Join Date
    Mar 2001
    Location
    VA/MD... anywhere around the beltway
    Posts
    236

    Cool A couple Servlet Questions

    I am starting to get into Servlet's, I hear they're a very useful tool in web development but I have a couple questions, maybe one of you will know the answers...

    1) Does anybody have the Servlet's actually installed and working on their computer? If so, how? I Downloaded the JSWDK from Sun's website... it's for Serlvet and JSP classes, I unzipped it and installed it on my computer.. I think I set the class path correct but wonder what others may have set the Class Path to. The problem is... whenever I use JBuilder or try to compile something, I get class Servlet cannot be found of the import.javax.servlet in red (JBuilder).

    2)Servlet's seem similar to Perl/CGI, PHP and the other server scripting languages. what's the difference that sets Servlet's appart??

    Thanks for any feedback.


  2. #2
    Member
    Join Date
    May 1999
    Location
    St. Louis, MO, USA
    Posts
    54

    Unhappy

    I just installed GefIon LiteWebServer and am having the same problem. My web server runs bu then when I write my Java code I get the same error.
    jen

  3. #3
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    If you really need a fast answer i would post here. http://forum.java.sun.com/
    Put a couple of duke dollars on it and you will get multiple responses. I post here because i like this site but the flow of the java fourm is a little slow.

  4. #4
    Member
    Join Date
    May 1999
    Location
    St. Louis, MO, USA
    Posts
    54

    Cool

    I found I was having problems with my classpath. It's looking for servlet.jar. In my case the servlet.jar file is located in the lib directory of my servelet engine(LiteWebServer). I'm also using a book Servlets and Java Server Pages. The book is online at http://www.coreservlets.com. I have not tried using tomcat. LiteWebServer is a small webserver derived from tomcat.
    jen

  5. #5
    Lively Member
    Join Date
    Jan 2000
    Posts
    69

    i actually have it working...but with sun server tho

    Hey all,

    Its good to be back...Its been hell last few weeks. I actually used jswdk from the sun site. My path i have it on my autoexec.bat file is as follows:

    set CLASSPATH=.;c:\jswdk-1.0\servlet.jar;c:\jswdk-1.0\lib\jspengine.jar;c:\jdk1.2\lib\tools.jar;jsdk2.0\lib\jsdk.jar;%CLASSPATH%


    some of it is extra stuff...and i used javawebserver2.0...

    I know its not better than tomcat/apache servers, but it is good for testing purposes.


    this should work...hey dilenger...i am back to check this site more frequently. how u been?

    Later,

    Manoj

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width