tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Bateman <bobbate...@sequoiallc.com>
Subject Re: Server Side file access
Date Thu, 01 Dec 2005 18:10:37 GMT
Have you given Tomcat permission to create myinfo.txt?  In your
catalina.policy file?

Bob

On Thu, 2005-12-01 at 19:55 +0200, Phillip Mangwiro wrote:
> Can I read & write to File on the server while in a JSP page? I keep getting
> errors on the line to create the File:
>                     File f = new File("myinfo.txt");
> 
> The error is reported to be because Tomcat expects an array or an Object.
> 
> 
> I'm using Tomcat 5.5 & jre 1.5.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message