I found two snippets that show how to do image upload in Play:
I kind of like the Blob approach, it’s simpler and more elegant. What I’m asking is … can I get the original filename with this approach? I noticed that the Upload class has a getFileName() method. Can I access the filename in the Blob approach?
Inside your controller’s method, you can use something like:
(where “image” is the name of your blob parameter) to get the File object.
Finally, you can get the filename with
(source: http://groups.google.com/group/play-framework/browse_thread/thread/21ccf6057d8bf4f5?pli=1)