On 10/3/06, Jacob Fenwick <[EMAIL PROTECTED]> wrote:
Hello, I've built a fileupload jsp and I want to get the original filename of a file. I put the file into a FileItem object and use the getName function. When I'm in Firefox it works perfectly, as it gets just the name and not the path. However when I'm in IE it uses the entire path of the file as the name. I want it to work the way it does in Firefox, I want to get only the name and not the path. Has anyone encountered this problem, and if you did, how did you solve it?
You did, of course, check out the FAQ before posting, right? ;-) http://jakarta.apache.org/commons/fileupload/faq.html#whole-path-from-IE -- Martin Cooper Thanks,
Jacob --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]