tank you for response. my question is not how use the component <p:fileUpload> my problem it is that i have to configure same thing i tihink into web.xml or faces-config.xml for not get the deployment error when i deploy the application on tomee that came with myfaces.
the error that i get it is : Caused by: java.lang.InstantiationException: org.primefaces.context.PrimePartialViewContextFactory --------------------------------------------------------------------- i have found the following web site : http://www.borislam.com/2013/02/sample-apps-spring-data-mongodb-and-jsf_3493.html int othe tutorial into web.xml i read many context-param . For get Primefaces with myfaces i have to set all the parameter???? I have noted that for the faces servlet it use : org.apache.myfaces.webapp.MyFacesServlet <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>org.apache.myfaces.webapp.MyFacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> what you think? it is for myfaces optimezed ? mauro -- View this message in context: http://myfaces.10567.n7.nabble.com/primefaces-p-filejUpload-not-work-with-myfaces-tp114620p114626.html Sent from the MyFaces - Users mailing list archive at Nabble.com.