myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kočí (JIRA) <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3865) enctype="multipart/form-data not working
Date Wed, 12 Mar 2014 07:44:43 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13931489#comment-13931489
] 

Martin Kočí commented on MYFACES-3865:
--------------------------------------

@Leo, I think we must configure the FacesServlet explicitly in MyFacesContainerInitializer
for multipart support as an equivalent to @MultipartConfig and  <multipart-config> in
web.xml.

> 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
>
> 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)

Mime
View raw message