Whe you say "uploading file does not work", what exactly do you mean? Any error message?
On May 10, 8:08 am, tom_gwt <[email protected]> wrote: > Hi everyone, > i'm using GWT 1.5.3 and gwtswfext (handling file upload on client > side, javascript/flash library > -http://code.google.com/p/gwtswfext/wiki/GWTSWFUpload). > When I run application in hosted mode, uploading file works fine - > file is saved in e.g. /tmp/ So I compile the application and run it in > tomcat server and uploading file does not work. I tried add file > permission in tomcat configuration file (04webapps.policy) but file > upload still doesnt work. The problem is obviously on the server side, > file upload works in hosted mode and doesnt work when the app is > running at tomcat server. > > 04webapps.policy: > > grant codeBase "file:${catalina.home}/webapps/-" > { > permission java.io.FilePermission "file:/tmp/-", "read, write, > delete"; > > }; > > Please help me.. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
