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#4038194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038194 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user