Using NT SP3.

I can run the JSP samples (http://localhost:8080/examples/jsp/) with JDK 1.2.
However, when \jdk1.1.8\bin is at front of my PATH, I cannot run the samples.
Here's the server console when started with 1.1.8:


JSDK WebServer Version 2.1
Loaded configuration from file:D:\jsp1.0/default.cfg
endpoint created: :8080
com.sun.web.core.DefaultServlet: init
com.sun.web.core.DefaultServlet: init
com.sun.jsp.runtime.JspServlet: init
Scratch dir for JSP-generated servlets is: work\%3A8080%2Fexamples
IMPORTANT: Do not modify the generated servlets
java.io.FileNotFoundException: work\%3A8080%2Fexamples\jsp1.0/examples/jsp/num/n
umguess_jsp_1.java
        at java.io.FileOutputStream.<init>(FileOutputStream.java:61)
        at com.sun.jsp.compiler.Main.compile(Main.java:186)
        at com.sun.jsp.runtime.JspLoader.loadJSP(JspLoader.java:114)
        at com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspS
ervlet.java:69)
        at com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.j
ava:77)
        at com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:125)
        at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:152)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140
)
        at com.sun.web.core.Context.handleRequest(Context.java:382)
        at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:135)

The following is returned to the browser:
Unhandled error! You might want to consider having an error page to report such
errors more gracefully

com.sun.jsp.JspException: Unable to compile class for JSP:
work\%3A8080%2Fexamples\jsp1.0/examples/jsp/num/numguess_jsp_1.java
        at com.sun.jsp.runtime.JspLoader.loadJSP(JspLoader.java:119)
        at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:69)

        at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:77)
        at com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:125)
        at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:152)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)
        at com.sun.web.core.Context.handleRequest(Context.java:382)
        at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:135)

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to