Hi,
I downloaded JSWDK1.0.1 from sun.com. My platform is windowNT with
service
pack 5.
I have done everything to configure the server, including to set
environment
variables and change port number from 8080 to 9000.
The server starts with no problem. I put my test jsp page into
examples/jsp/jsptest and run the page:
http://mylocalhost:9000/examples/jsp/jsptest/helloworld.jsp
and I can see some error message under dos window.
com.sun.web.core.defaultservlet:init
com.sun.web.core.defaultservlet:init
com.sun.jsp.runtime.jspSevlet:init
scratchdir for jsp engine is: jspscratch
Important: do not modify gernerated servlets
Unhandled error!
java.lang.NullPointerException
at
com.sun.web.core.servletContextFacade.getResource(ServletContext.java:114)
at com.sun.web.core.servletContextFacade.getRealPath(ServletContext.java:97)
at javax.servlet.http.httpServlet.servcie(httpservlet.java:275)
at com.sun.jsp.runtime.jspSevlet.service(Jspservlet.java:275)
at com.sun.web.core.ServletWrapper.handlerequest(ServletWrapper.java:140)
at com.sun.web.core.Context.handlerequest(context.java:375)
at com.sun.web.server.connectionhandler.run(connectionhandler.java:135)
Then I stop the server and restart again and run examples coming with
JSWDK,
and I got the same error messages. I searched files in the error messages
under
jswdk1.0.1 directory and only found httpservlet.java file.
Can someone help me make JSWDK work? thank you!
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets