The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Better File Uploads with AJAX and JavaServer Faces
Subject:  Decode problem
Date:  2007-11-07 04:48:22
From:  fridahenricson


Hi,

I´ve read that some of you have had this problem "The problem that I am noticing is that the Ajax requests are not being passed to the FileUploadRenderer.Decode() method for processing. Decode() only gets called once, for the first "normal decoding request" and never to process the file progress request events. " Has anyone any solution?

This worked for me then I used Eclipse 3.2 and tomcat 5.0, but now I´ve upgraded to Eclipse 3.3(europa) and tomcat 6.0 with some new jar-files. This is the jar-files i use in my project now:
ajax4jsf.jar
commons-beanutils.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-fileupload-1.1.jar
commons-io-1.1.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
commons-validator-1.3.1.jar
jstl-1.1.0.jar
myfaces-api-1.1.5.jar
myfaces-impl-1.1.5.jar
oro-2.0.8.jar
oscache-2.3.2.jar
tomahawk-1.1.6.jar

Can anyone say what might be wrong?

//Frida

 Feed java.net RSS Feeds