Hi all!
In a
JSF form i have this code fragment.
<f:verbatim >
<input name="importFile" type="file" size="10">
</f:verbatim >
To upload the selected file I use commons-fileupload-1.0.jar from
tomcat's 5.0 server dir.
I get this exception:
the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded
JSF forms dont allow the attribute encType to be set.
I tried this and the hole aplication dont work.
Does any one know a solution for this problem?
Thanks in advance.