title: gwt- how to read a text file (Google App Engine servlet)?
body: <p>I want my servlet (gwt Google App Engine) to read a text file located in the war/WEB-INF/ directory.
  However,  when I run my app following error shows up:</p>
  
  <blockquote>
    <p>java.security.AccessControlException: access denied (java.io.FilePermission /WEB-INF/lib/file.txt read)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
        at java.security.AccessController.checkPermission(AccessController.java:546)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)  <strong>(...)</strong></p>
  </blockquote>
  
  <p>According to <a href="http://code.google.com/intl/en/appengine/kb/java.html#readfile" rel="nofollow">enter link description here</a> it should be possible to read a file via Filereader&amp;BufferedReader</p>
  
  <p>Did I miss something important? 
  Thanks in advance.</p>