Try Apache Commons IO (http://commons.apache.org/io/
), org.apache.commons.io.FilenameUtils

On Tuesday, December 4, 2012 12:30:17 AM UTC-5, sreenivas wrote:
>
> Hi,
>
> I am uploading a file to server. when from firefox , it is giving only the 
> file name, when i access through fileItem.getName(). But with chrome it is 
> coming something like this. c:/fakepath/fileName. How to avoid this 
> fakepath string to come to server and get only the file name?
>
> Thanks,
> Sree
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/VEM2VUXqnDwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to