Hi,

Follow this thread.

http://groups.google.com/group/google-appengine-java/browse_thread/thread/ef91a0e8c32c576e/3358e5877c6ef30e?lnk=gst&q=FileInputStream#3358e5877c6ef30e

thanks.


On 12月9日, 午前7:49, mattkrae34 <[email protected]> wrote:
> I'm using 1.2.8 SDK and on both local and the app engine I get the
> following exception:
>
> java.security.AccessControlException: access denied
> (java.io.FilePermission file.xml read)
>
> When I ever I try to open a FileInputStream
>
> XMLEventReader r = factory.createXMLEventReader(new FileInputStream("/
> test.xml"));
>
> My appengine-web.xml contains the following:
>
>         <static-files>
>         <include path="/**.xml" />
>     </static-files>
>
>         <resource-files>
>         <include path="/**.xml" />
>     </resource-files>
>
> The file is located in the WEB-INF directory.

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to