Re: WAR deployments and uploaded files...

2006-08-03 Thread Mark Thomas
Moises Lejter wrote: > This only works as long as I don't redeploy the webapp that has WebDAV > enabled via its WAR file, right? I did not find anything that would > have Tomcat realize it was not supposed to delete the WebDAV's directory > inside the second web app on redeploy... Correct. Mark

Re: WAR deployments and uploaded files...

2006-08-03 Thread Moises Lejter
This only works as long as I don't redeploy the webapp that has WebDAV enabled via its WAR file, right? I did not find anything that would have Tomcat realize it was not supposed to delete the WebDAV's directory inside the second web app on redeploy... Moises "Mark Thomas" <[EMAIL PROTECTED]> w

Re: WAR deployments and uploaded files...

2006-08-02 Thread Mark Thomas
Moises Lejter wrote: > Is there a best practice I should be considering here? How about this for a quick and dirty approach. Use two contexts. One for your app and one, with webDAV enabled, for any uploaded content. That way, any application updates won't change the content. Mark --

WAR deployments and uploaded files...

2006-08-02 Thread Moises Lejter
Imagine that you wanted to allow the user to upload files to your web app, that you then wanted to save – say for example web pages that you wanted them to upload to your web app to display…   My first thought was, my web app can only write to /WEB-INF, so I should put these files there.