tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "moro.stefano@inwind.it"<moro.stef...@inwind.it>
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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message