Hi

I have a annoying problem using Tomcat 3.2.1 and Apache 1.3.19 on Windows
2000.

The problem is that I am using getRealPath("stylesheet.xsl") to do on server
processing of xsl-files. And on tomcat 3.1 it worked fine. But not on 3.2.1.

I have in server.xml a path="/test" and a docBase="e:\webdir\test".

When requesting getServletContext().getRealPath("/test/stylesheet.xsl") i
get "e:\webdir\test\test\stylesheet.xsl" instead of
"e:\webdir\test\stylesheet.xsl".

I have my web root in e:\webdir\root.

Is this problem a configurationsproblem or a programming problem ??

I am using getRequestURI() to get the current path to my script file, since
I have my xsl file along my script file. That's way it gets
getRealPath("/test/stylesheet.xsl") and not getRealPath("/stylesheet.xsl").

Thanks in advance for any help ;-)!

Best regards

Jesper Birch


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to