tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moises Lejter" <>
Subject Re: Writing files accessible from a browser
Date Mon, 07 Aug 2006 14:38:52 GMT
I had a similar question, earlier... There is another issue here: you are 
right that WAR files are expanded back into a folder - at least by default - 
so one could still create a folder within the web app to write to, and which 
is visible to browsers...  Until one deploys an  updated WAR file.  At that 
point, tomcat will delete the old expanded WAR folder, in order to create a 
new one to deploy the new WAR file into - and in the process it will remove 
all files that were created before.  If these files are just transient 
anyway, then it does not matter...


"Li" <> wrote in message
> 1. even you deploy as war, later after start tomcat, it will still
> generate a folder that actually tomcat uses normally. so in this case,
> you still be able to use context path to write
> 3. to write, you can always use context path or absolute path
> defintion no matter is inside or outside, but after been written and
> you wanna view, you have to define as URL, 

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message