tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Muffett" <ma...@muffett.net>
Subject Re: Saving files from Tomcat
Date Wed, 03 Oct 2001 07:01:51 GMT
Good idea, or I suppose I could put something in web.xml and use an
initialisation servlet to store it in the context.

Mark

----- Original Message -----
From: "Randy Layman" <randy.layman@aswethink.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, October 02, 2001 6:47 PM
Subject: RE: Saving files from Tomcat


>
> 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