Re: how to read files in file system

2012-09-11 Thread Daniel Mikusa
On Sep 11, 2012, at 3:11 AM, IBM partner Gestione Elaboratori wrote: > With jsp i can read files in the file system only if there are located under > the directory webapps//. > > If I read a file ,for example, in c:/ Tomcats signals an error (se > atthachment) Again, there is no attachment. The

RE: how to read files in file system

2012-09-11 Thread Martin Gainty
//in ${catalina.base}/conf/catalina.policy //grant the containing jar (read and write) FilePermission to folder named 'filename' located off of root //if the jar (containing the class which will access filename folder) is tomcat-juli.jar grant codeBase "file:${catalina.base}/bin/tomcat-juli.ja

Re: how to read files in file system

2012-09-11 Thread André Warnier
IBM partner Gestione Elaboratori wrote: With jsp i can read files in the file system only if there are located under the directory webapps//. If I read a file ,for example, in c:/ Tomcats signals an error (se atthachment) How to read files located everywere in the file system? Don't know about