[OS-webwork] XSLTServlet cannot find stylesheet

2004-01-12 Thread Eric Mckenna
Hello group, Using Webwork 1.4 with tomcat 4.1.29 and have run into a problem when the XSLTServlet tries to get the stylesheet for the action. Here's the first part of the exception: --- javax.servlet.ServletException: XSLT Transformation failed:

Re: [OS-webwork] XSLTServlet cannot find stylesheet

2004-01-12 Thread Hani Suleiman
You're right, it shouldn't use getRealPath, would anyone be upset if this is changed to use context.getResourceAsStream? Eric Mckenna wrote: Hello group, Using Webwork 1.4 with tomcat 4.1.29 and have run into a problem when the XSLTServlet tries to get the stylesheet for the action. Here's the

Re: [OS-webwork] XSLTServlet cannot find stylesheet

2004-01-12 Thread Hani Suleiman
Mmm, of course if you provide a patch for this it'll happen much faster ;) On Jan 12, 2004, at 6:19 PM, Fredrik Lindgren wrote: I agree that using a context based URL is the way to go. I would however suggest not going directly to the stream, but rather going through the step of getting the