tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li <>
Subject Re: Writing files accessible from a browser
Date Mon, 07 Aug 2006 08:30:42 GMT

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
2. if you wanna avoid other people modiy, you can create script/IO
stream object that generates folder before you write to.
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, have you tried use
file:\\???\??? or use some JVM properties attribute. That may help you
define a OS independent path.

Wish those helps

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

View raw message