Hi everyone,

I am using Struts 2 and using <s:file> tag to upload a file.
But I get that file as a 'File' object in my action class and using
getFileName() on that File object returns me some arbitrary value (something
like upload__5b41f107_1127b4befe0__8000_00000000.tmp). I want to
retrieve things like Filedata to store the binary datas in my databases.
which was possible in
struts 1.1 using methods like on getFiledata() using byte [] array FormFile
Object.
 
How do I accomplish the same in Struts 2 ? 

Regards,
John
-- 
View this message in context: 
http://www.nabble.com/Struts-2-File-upload-to-store-the-filedata-tf4948427.html#a14168069
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to