JSPs are servlets (eventually), so the same rules apply.
John
On Thu, 10 Jul 2003 17:13:55 +0200, Philipp Leusmann <[EMAIL PROTECTED]> wrote:
Sure you can. At least in servlets you can.
I don´t have any experience in JSP, but in servlets you have
read/write-access to the whole host-filesystem as in every java- application
using normal java-FileIO-methods. If (and only if) you use the tomcat
security-manager you will have to enable read/write-access for the
dirs/files you want to access there.
Hope that helps, Philipp
-----Ursprüngliche Nachricht----- Von: Mariano Rodriguez [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 10. Juli 2003 16:56 An: [EMAIL PROTECTED] Betreff: How to read/write files located outside WEB-INF
Hi, Im writting this application to edit configuration files. These files are located in several folders in the local filesystem where the tomcat server is running and where my app is also running. I want to be able to open/writte these files from a JSP but I've found in forums that I can only read/write files located at the WEB-INF folder of my application. Is this true? Is there a way to configure the tomcat server to allow a certain application to use an external folder? Thank you all in advance for you help. I hope there something I can do to get this working.. its kind of importat. Best Regards --
Powered by Outblaze
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
