Actually, the behavior is different when I use FireFox. Silly me, I’ve only been using IE to trace this issue. When I use FireFox and have an invalid path or file name, the inputFileUpload field is bank out then I get “This field is required” error since I require that field. Which is a much better behavior that what I get using IE. I did install the Live HTTP headers module in FireFox and I can see that the filename field is indeed clear out before it is sent to the server. Is there anything I can do for the IE users about this issue? thanks, Jorge
[EMAIL PROTECTED] wrote: > > > On Tue, 2008-03-11 at 12:01 -0700, jorge08 wrote: >> Yes, but the problem is that my uploadAction method in my backing bean >> does >> NOT get executed when the file name is invalid or the file does not >> exist. >> Nothing happens when I click on the command button. > > Does the browser actually send anything back to the server in that case? > If not, then there is nothing that can be done about that on the server > end... > > For firefox, you can check this by installing the excellent > "live-headers" addon, and seeing what data (if any) the browser sends to > the server. Tracking that info down for other browser types is a little > more difficult.. > > Regards, > Simon > > > -- View this message in context: http://www.nabble.com/inputFileUpload-issue-when-file-does-not-exists-tp15892132p16002290.html Sent from the MyFaces - Users mailing list archive at Nabble.com.