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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to