> If you want to get the absolute path of the application
> directory use ServletContext.getRealPath("/"); and pass this
> to the file creating code.
Yes, I could, but this again didn't explain the behavior which turned out to
be:
Try to create "\images" in a servlet running under Windows Tomcat, it
becomes "C:\tomcat4\webapps\images".
Try to create "/images" in a servlet running under Suze and it becomes
"/images".
I would expect to have to be "/images" in Windows too, except it didn't work
that way. Okay, so Tomcat effects a chroot somehow. But I then expected it
to continue under Suze and was dissapointed.
I strongly suspect that what you describe will not work under Windows Tomcat
even though it should
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]