upload « playframework « Java Enterprise Q&A





1. Uploading an empty file automatically results in an NPE    stackoverflow.com

I'm a bit of a newbie to the Play Framework, but I don't see any documentation on how to approach this. Basically I've got a form to upload a text ...

2. PlayFramework: Ajax + Drag n' Drop + File Upload + File object in controller?    stackoverflow.com

Does anyone know of a way to upload a file via Ajax and using drag n' drop from the desktop that supports PlayFramework's ability to convert file uploads to a File ...

3. Basic file uploading fails    stackoverflow.com

I am not able to perform any uploading operations on the server. Contrary to "one of the five cool things you can do with play", the following does not seem to ...

4. File upload create a file in /tmp    stackoverflow.com

When using a form that uploads a file to my Play! Framework application, a file is created in ${application_path}/tmp/ with an unique ID like :

0851e44f-8d7e-4afd-8edf-3d9bd6c909c9
and contains all the data sended by ...

5. How to perform file upload monitoring with Play! framework    stackoverflow.com

Is it possible to monitor file uploads, somehow, with Play! framework? Also, if the file should be BIG (i.e. +500MB), would it be possible to save the received bytes into a ...

6. Play! Framework and Uniformjs don't play nicely for file uploading    stackoverflow.com

I am writing a small webapp in Play!, and trying to use UniformJS (http://uniformjs.com/) to make my form elements look good. One page of the app lets users ...

7. multi file upload with play?    stackoverflow.com

I try to upload multiple files with one request. My code looks like the following:

<form action="/application/overviewsubmit" method="POST" enctype="multipart/form-data">
 <input type="file" name="files">
 <input type="file" name="files">
 <input type="submit" value="Run...">
</form>
And the controller:
public static void ...

8. Multiple file upload in playframework    stackoverflow.com

I'm having some problems with getting multiple file upload to work. When I select x files, it goes through successfully, but the first file is being uploaded x times, and the ...

9. Mystery file created but not deleted on file upload    stackoverflow.com

Edit: I am using Play 1.2.3 When uploading a file, Play creates an unknown file in the tmp files that has a UUID for a name and no file type. This file is ...





10. Play framework multiple file upload    stackoverflow.com

I try to upload multiple files with one request but it always error, My view code:

<input type="file" name="files[]" multiple>
And:
public static void doUpload(File[] files) {
    File dir = new ...