[
https://issues.apache.org/jira/browse/MYFACES-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13931794#comment-13931794
]
Leonardo Uribe commented on MYFACES-3865:
-----------------------------------------
I have found the following line in the javadoc of FacesServlet:
"... This class must be annotated with
javax.servlet.annotation.MultipartConfig. This causes the Servlet container in
which the JSF implementation is running to correctly handle multipart form data
..."
maven clirr plugin did not detected the annotation, so we didn't notice that. I
suppose that solves the problem, so I'll close this issue as fixed.
> enctype="multipart/form-data not working
> ----------------------------------------
>
> Key: MYFACES-3865
> URL: https://issues.apache.org/jira/browse/MYFACES-3865
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.2.0
> Environment: Jetty maven plugin 9.0.5, TomEE 1.6, Myfaces 2.2
> Reporter: Karl Kildén
> Fix For: 2.2.2
>
>
> Discussed on the list here:
> https://mail-archives.apache.org/mod_mbox/myfaces-users/201403.mbox/thread
> Here's the project I used to reproduce it:
> https://dl.dropboxusercontent.com/u/860312/javaweb-cdi-ds-project-template.rar
> Note that with the enctype the post does not work at:
> http://localhost:8080/javaweb-cdi-ds-project-template/helloWorld.xhtml
> It is not broken if the sample is started with -Pmojarra
--
This message was sent by Atlassian JIRA
(v6.2#6252)