tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Server Side file access
Date Fri, 02 Dec 2005 13:03:39 GMT
Glad to hear it
Stay in touch,

Martin
"Good Manners dont cost nothing" - Pink Floyd

----- Original Message ----- 
From: "Phillip Mangwiro" <mangwiro@gmail.com>
To: "Tomcat Users List" <users@tomcat.apache.org>; "Martin Gainty" 
<mgainty@hotmail.com>
Sent: Friday, December 02, 2005 2:19 AM
Subject: Re: Server Side file access


> Thanks.
> It worked.
>
> On 12/1/05, Martin Gainty <mgainty@hotmail.com> wrote:
>> Good Afternoon Philip-
>>
>> only if you have assigned the proper FilePermission in
>> $CATALINA_HOME/conf/catalina.policy
>>
>> grant {
>>         permission java.io.FilePermission "${/}*", "read, write";
>> };
>>
>> HTH,
>> Martin-
>> ----- Original Message -----
>> From: "Phillip Mangwiro" <mangwiro@gmail.com>
>> To: <users@tomcat.apache.org>
>> Sent: Thursday, December 01, 2005 12:55 PM
>> Subject: Server Side file access
>>
>>
>> > 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
>>
>>
> 

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


Mime
View raw message