When perform uploading from IE browser, that my backend(org.apache.commons.fileupload) gets full file path.
For other non-IE browsers it gets filename and it\'s OK b
You are interested in a UI approach.
You could add a hidden input-field (or JSON entry) that contains just the bare file-name, populated by javascript.
Using the following cross-browser(including IE)/platform javascript function (taken from my answer here, with full explanation and reference), which gets the filename only:
function extractFilename(s){
// returns string containing everything from the end of the string
// that is not a back/forward slash or an empty string on error
// so one can check if return_value===''
return (typeof s==='string' && (s=s.match(/[^\\\/]+$/)) && s[0]) || '';
}