I have Java Server WDK 1.0.1 installed. I have played with the examples.
Now I have started creating my own application.

Here is my structure:


     C:\Personal\Developer\Java\SDK\Java Server
WDK\1.0.1\Company\Application


In this directory are some of the files for the application, including
the WEB-INF directory.

The webserver.xml file is setup as follows:


     <WebServer id="webServer">
         <Service id="service0">
             <WebApplication id="examples" mapping="/examples"
docBase="examples"/>
             <WebApplication id="CompanyApplication"
mapping="/company/application" docBase="Company/Application"/>
         </Service>
     </WebServer>


Now...the problem. If I have a directory inside of "Company\Application"
that contains a JSP file and I try to request that JSP file, I get the
following output in
the server window:


     com.sun.jsp.JspException: Compilation failed:error: Can't write:
work\%3A8080%2F

birch%2FWBOE\C_0003a\Personal\Developer\Java\SDK\Java_00020Server_00020WDK\_0003


1_0005f_00030_0005f_00031\Birch\WBOE\order_0005fservice\order_0005fservice_0005c

     select_0005fservice_0002ejspselect_0005fservice_jsp_1.class
     1 error

             at com.sun.jsp.compiler.Main.compile(Main.java:347)
             at
com.sun.jsp.runtime.JspLoader.loadJSP(JspLoader.java:135)
             at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspS
     ervlet.java:77)
             at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.j
     ava:87)
             at
com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:218)
             at
com.sun.jsp.runtime.JspServlet.service(JspServlet.java:294)
             at
javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
             at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155
     )
             at com.sun.web.core.Context.handleRequest(Context.java:414)

             at
com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)
     com.sun.web.core.DefaultServlet: init

However, if I put the JSP directly in the "Company\Application"
directory, it works just fine.

Any thoughts?

Thanks.

Chris
begin:vcard
n:Cuilla;Chris
tel;cell:1.720.352.0862
tel;home:1.303.466.8525
x-mozilla-html:TRUE
org:Cuilla Enterprises, Inc.
adr:;;1143 East 12th Avenue;Broomfield;CO;80020-9003;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:President
fn:Chris Cuilla
end:vcard

Reply via email to