简体   繁体   中英

Uploaded file creation saving for future usage in GWT server side

I am new to GWT, I am facing some issue with file creation.

I am uploading a file from client side and want to store that file in server side and parse it and create tables in database for the data present in the file.

When I try to create a file at server side there is some file.io permission issue App engine is not allowing me to create the file.

Please let me know how can I solve this issue.

I did browse net, didn't find any solutions.

Thanks in Advance, Pradeep

You cannot store files to GAE as you do normally on a Web Server because you have no direct access to the file system. GAE gives you other ways to that using services. There are two ways to store files on GAE :

我建议尝试gwtupload ,它有一个servlet和一组FileItemFactory,用于将上传的文件存储在BlobStore,FileApi和MemCache中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM