[appengine-java] Re: URLfetch 406 response

2009-11-19 Thread vincwe
Great I've setted user agent in url fetch and all urlfecthes works now! code.. URL url = new URL(link); HttpURLConnection connection=(HttpURLConnection)url.openConnection(); connection.setRequestProperty ( User-agent, Mozilla/4.0 ( compatible ) ); /code Thanks again Ciao Vincenzo On 13 Nov,

[appengine-java] Velocity Template reading error : java.security.AccessControlException: access denied (java.io.FilePermission

2009-11-19 Thread vincwe
Hi to all, i'm try to use Apache velocity template for mailing, using the following code code VelocityEngine ve = new VelocityEngine(); try { ve.setProperty(resource.loader, file); ve.setProperty