I think you might need to move servlet.jar to E:\jdk1.2.2\jre\lib\ext\.

-----Original Message-----
From: David Parker [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 07, 2000 11:28 AM
To: [EMAIL PROTECTED]
Subject: JSWDK 1.0 Feedback:


I running on WindowsNT 4 sp6, IIS 4, JRun 2.3.3
JDK1.2.2, JSWDK1.0.1
CLASSPATH=e:\JDK1.2.2\bin;e:\PortalServer\lib;E:\jsdk2.1;E:\xpasearch-1.0.1\
lib\xpasearch.jar;

The servlet engine comes up fine.
But I'm not able to complie any of the sample servlets
E:\jsdk2.1\examples\servlets>javac  -classpath
E:\jsdk2.1\servlet.jar   CookieExample.java
CookieExample.java:2: Package java.servlet not found in import.
import java.servlet.*;

Here is a jsp file that should compile and issue a response.
E:\jswdk-1.0.1\HelloWorld.jsp

All of these attempts failed.
http://hydra.doit.wisc.edu:8765/HelloWorld.jsp
127.0.0.1:8765/HelloWorld.jsp
localhost:8765/HelloWorld.jsp


The IIS server is configured to run JRun's servlet engine if the requested
file has the .jsp or .jrun extension or the /servlet directory.
These are all good.
http://hydra.doit.wisc.edu/servlet/SnoopServlet
http://hydra.doit.wisc.edu/SnoopServlet.jrun
http://hydra.doit.wisc.edu/HelloWorld.jsp

I can understand that JRun is being invoked or interfering with port 8765.
But I do not understand why the examples do not compile.

----------------------------------------------------------------------------
-------------------------------------------------
JSWDK WebServer Version 1.0.1
Loaded configuration from: file:E:\jswdk-1.0.1\webserver.xml
endpoint created: localhost/127.0.0.1:8765
----------------------------------------------------------------------------
----------------------------------------------------

D:\WINNT\system32>e:

E:\>set
Path=D:\WINNT\system32;D:\WINNT;E:\Program
Files\Mts;D:\WINNT\system32\nls\ENGLISH;D:\WINNT\system32\nls;E:\cygnus\cygw
in-b20\H-i586-cygwin32\bin;E:\emacs-20.5\bin;E:\Utilities;E:\Oracle\Ora81\bi
n;E:\Program
Files\Oracle\jre\1.1.7\bin;E:\Perl\bin;e:\jdk1.2.2\bin;E:\ssh\bin;E:\cvs-1.1
0
.7\bin

CLASSPATH=e:\JDK1.2.2\bin;e:\PortalServer\lib;E:\jsdk2.1;E:\xpasearch-1.0.1\
lib\xpasearch.jar;
J2sdkee=D:\j2sdkee1.2\lib\j2ee.jar;D:\j2sdkee1.2\lib\ejb10deployment.jar;D:\
j2sdkee1.2\lib\jhall.jar
JAVA_HOME=e:\jdk1.2.2
Jaxp=E:\Program Files\JavaSoft\Jaxp1.0\jaxp.jar;E:\Program
Files\JavaSoft\Jaxp1.0\parser.jar
JDK=e:\jdk1.2.2\bin
JDK_LIB=e:\jdk1.2.2\lib;e:\jdk1.2.2\jre\lib
Jsdk=E:\jsdk2.1
JSWDK=E:\jswdk-1.0.1\lib\servlet.jar
RegExp=D:\gnu.regexp-1.0.8\lib\gnu-regexp-1.0.8.jar
Rhino=E:\rhino\js.jar
Xalan=E:\xalan\xalan.jar;E:\xalan\bsfengines.jar;E:\xalan\bsf.jar;E:\xalan\s
amples\xalansamples.jar
Xbeans=E:\xbeans\xbeans.jar
Xerces=E:\xerces\xerces.jar;E:\xerces\xercesSamples.jar
Xml4j=E:\XML4J_3_0_0EA3\xml4j.jar
Xpa=E:\xpasearch-1.0.1\lib\xpasearch.jar
Xpk4j=E:\xpk4j\xpk4j.jar

E:\>cd E:\jsdk2.1\examples\servlets

E:\jsdk2.1\examples\servlets>javac CookieExample.java
CookieExample.java:2: Package java.servlet not found in import.
import java.servlet.*;
        ^
CookieExample.java:5: Superclass HttpServlet of class CookieExample not
found.
public class CookieExample extends HttpServlet {
                                    ^
2 errors

E:\jsdk2.1\examples\servlets>javac  -classpath
E:\jsdk2.1\servlet.jar   CookieExample.java
CookieExample.java:2: Package java.servlet not found in import.
import java.servlet.*;
        ^
CookieExample.java:5: Superclass HttpServlet of class CookieExample not
found.
public class CookieExample extends HttpServlet {
                                    ^
2 errors




































































Sincerely,
David Parker

mailto:[EMAIL PROTECTED]

Library, Instructional & Retrieval Applications,
Division of Information Technology,
1210 West Dayton Street, Madison WI  53706
Phone: 608.265.7829     FAX: 608.265-6453

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to