I want to upload a file to my glassfish v3.0, but when i use richfaces and prime faces, i get problems. Is there any compatibility issue with file uploading in glassfishV3.0? Can files be uploaded to glassfish from a JSF page?
How can is do a very simple file upload to my server from a JSF? What tools should i use? What is the most common and easy approach to file uploading ussing JSF?
Update
Here is the problem i have with rich faces:
What i do first is add the info found at http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/GettingStarted.html#SimpleJSFapplicationwithRichFaces to mi web.xml(Also the richfaces jars inside the classpath in lib folder)
When i start the glassfish server from eclipse i get this message in the console:
WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
I have no idea what that means