title: Struts 2 file Upload - accessing client file name
body: <p>I upload the file using Struts 2, then the content goes to the database.  In the database I store file content, content type AND FILE NAME AS IT IS ON THE CLIENT MACHINE (whatever the client sees in the 'Browse' when choosing the file to upload - for example 'myFIle.txt' ).
  However, the problem is, when I store the file to the database, it takes place on the server, and at that time I only see the file name as it is AFTER BEING UPLOADED TO THE TEMP DIRECTORY ON SERVER. 
  (something like 373_393jfu_39.tmp )</p>
  
  <p>How can we access the name of the file that was actually on client?
  I know that for security reasons, struts somehow hide the uploading process... but is there way to hack in between?</p>