• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Heeelp! Fileupload with jsf and ajax

 
Frida Henricson
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have read your article "Better File Uploads with AJAX and JavaServer Faces"(http://today.java.net/pub/a/today/2006/02/09/file-uploads-with-ajax-and-jsf.html) and think it�s great but I can�t get it to work.

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.

It 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

Do you know what could be wrong?

//Frida
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic