icemico
asked on
FileUpload - item.getName() return value
Hi,
I have this problem when gathering information for a file to be uploaded using FileUpload.
let's say the filename is: Abc.rtf
when I upload it using the commons FileUpload, the file was renamed to abc.rtf
I also noticed that in my code upon getting the filename by using item.getName(), it returns a the fullpath of the file which is all in lowercase.
Question is, How can I get the filename without the uppercase letters being converted to lowercase letters?
I have this problem when gathering information for a file to be uploaded using FileUpload.
let's say the filename is: Abc.rtf
when I upload it using the commons FileUpload, the file was renamed to abc.rtf
I also noticed that in my code upon getting the filename by using item.getName(), it returns a the fullpath of the file which is all in lowercase.
Question is, How can I get the filename without the uppercase letters being converted to lowercase letters?
not sure you can. may be case insensitive
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks a lot!