When trying to use the fileupload component I spent ages trying to figure out what was the difference between my full blown applicaiton which wasn't working well with it and the small example[1] from ONJava.com which seemed to work fine.

I eventually discovered that without specifiying a prefix-mapping in your web.xml then the [inputFileUpload] component does not seem to work at all.

Is there any reason for this?

Is a prefix-mapping obligatory in the web.xml?

Thanks in advance

[1] Example from ONjava.com http://www.onjava.com/pub/a/onjava/2005/07/13/jsfupload.html



Reply via email to