This content has been marked as final.
Show 2 replies
-
1. Re: <s:fileUpload/> IE/Firefox Filename differences
shane.bryzak Apr 17, 2007 9:06 PM (in response to chane)This is expected behaviour, the filename simply contains what is provided by the web browser. If you just want the base filename without the path then you will need to extract it yourself, or use a utility - the Apache Commons IO library has a method that does this, FilenameUtils.getName(fileName). More details can be found here:
http://jakarta.apache.org/commons/fileupload/faq.html#whole-path-from-IE -
2. Re: <s:fileUpload/> IE/Firefox Filename differences
chane Apr 18, 2007 10:06 AM (in response to chane)Thanks for the explanation Shane!
Chris....