Link to home
Start Free TrialLog in
Avatar of icemico
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?
Avatar of Mick Barry
Mick Barry
Flag of Australia image

not sure you can. may be case insensitive
ASKER CERTIFIED SOLUTION
Avatar of colr__
colr__

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of icemico
icemico

ASKER

thanks a lot!