tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ""<>
Subject how to set the path to write files (on the server) from a servlet
Date Tue, 06 Nov 2001 14:04:34 GMT

I'm using Tomcat 4.0 and Apache 1.3.22 and I've the following problem:
when my servlet writes an xml file, it goes in a system directory of NT, so that I've to write
the full path "C:\..." to write this file in the right directory. It's a problem of course
because the full path changes if I change pc, hard disk and so on...
So, how should I set the path to write files in Tomcat ?
Thanks in advance...

                 Stefano Moro

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message