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
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038194#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...