https://bz.apache.org/bugzilla/show_bug.cgi?id=58009

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEEDINFO                    |RESOLVED

--- Comment #4 from Mark Thomas <ma...@apache.org> ---
No test case has been provided. Further, the WebResourceRoot already contains
methods for adding resources that correctly interacts with caching if caching
is enabled. It is used, for example, with HTTP PUT.

The Servlet API provides no standard mechanisms for writing new resources (it
doesn't even assume that the web application is served from a file system) so
you are always going to have to work wth some form of container specific
interface.

In Tomcat the options are:
- disable caching
- don't try to access the file before you try to write to it
- use WebResourceRoot.write(String, InputStream, boolean)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to