|
-
Jul 13th, 2001, 09:07 AM
#1
Thread Starter
Addicted Member
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.
-
Jul 26th, 2001, 11:45 AM
#2
Member
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.
-
Jul 26th, 2001, 10:13 PM
#3
Dazed Member
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.
-
Jul 27th, 2001, 10:50 AM
#4
Member
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.
-
Jul 27th, 2001, 03:43 PM
#5
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|