This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Heeelp! Fileupload with jsf and ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Heeelp! Fileupload with jsf and ajax" Watch "Heeelp! Fileupload with jsf and ajax" New topic
Author

Heeelp! Fileupload with jsf and ajax

Frida Henricson
Greenhorn

Joined: Nov 07, 2007
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Heeelp! Fileupload with jsf and ajax
 
Similar Threads
Calendar component
Myfaces - preferred page language (JSP- facelets)
struts 2: ajax theme problem
Problem deploying Jcatalog on Tomcat 5.0.28
Tomcat manager making a big fuss