tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <randy.lay...@aswethink.com>
Subject RE: Saving files from Tomcat
Date Tue, 02 Oct 2001 17:47:26 GMT

	The way that we deal with this is have a system configuration
parameter to indicate the path.  The system configuration is either stored
in the database or some properties file in the classpath, then when the app
moves (or we deploy to a different server) we just edit the configuration.

	Randy

> -----Original Message-----
> From: Mark Muffett [mailto:markm@muffett.net]
> Sent: Tuesday, October 02, 2001 1:13 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Saving files from Tomcat
> 
> 
> I have to save some data in files from a servlet (can't get 
> blobs to work
> with JDBC) - is there any good (portable) way to express the 
> directory path?
> I'm just worried that an absolute path is going to cause 
> problems if the
> site is moved.
> 
> Thanks for any help
> 
> Mark Muffett
> 

Mime
View raw message