> From: Anand HS [mailto:anan...@gmail.com]
> Subject: How to make Deployed WebApps read-write enabled
>
> There is some code in the application that writes some
> temporary files into the my webapp.
That's a really bad idea. The servlet spec requires that the container provide
some writable space unique to each webapp, and that's what you should be using.
The location of said space is available through the servlet context attribute
javax.servlet.context.tempdir; see section 4.7.1 of the spec.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org