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 getName() on that File object returns me some arbitrary value (something like upload__5b41f107_1127b4befe0__8000_00000000.tmp). I want to retrieve things like ContentType, File Name etc which was possible in struts 1.1 using methods like getContentType(), getFileName() on FormFile Object. How do I accomplish the same in Struts 2 ? Please Help !! Thanks Anshul Any comments or statements made in this email are not necessarily those of Tavant Technologies. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you have received this in error, please contact the sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies. may be subject to our monitoring procedures.