On Wed, Nov 18, 2009 at 5:08 PM, sosna <[email protected]> wrote:

> I got application deployed in tomcat. This application generates html log
> files. I would like to access these files from my webapplication but i got
> problems. When i put these files in for ex: c:/logs i cant access them
> because created link: file:///c:/logs/file.html is not working (i read that
> this is a browser security issue).
> Then i tried to create link using relative path, because the application is
> often redeployed i have to put this folder outside application folder in
> webapp. When i put the folder in webapps/logs i still cant access the file
> because there is no project logs so the resource is not found.

? You can write the logs to an alternate context, exactly as above:
$CATALINA_HOME/webapps/logs and just never redeploy that.

HTH,
-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to