| Author |
commons fileupload with JSF
|
Rajeev Ravindran
Ranch Hand
Joined: Aug 27, 2002
Posts: 455
|
|
hi all, I am trying to upload file using JSF with commons-fileupload.jar. it works fine on a servlet but the same line of code is not working on JSF. I tried to debug to see where it is going wrong "FileUploadBase.java" of commons-logging has a boolean check boolean nextPart = multi.skipPreamble(); where multi is an instance of "MultipartStream.java" this boolean check is returning false for JSF and its returning true for servlets . one more, DiskFileUpload.isMultipartContent(request) is returning true for JSF Could anyone tell me what is going wrong ? is it possible to make use of commons-fileupload in JSF ? i have found a post on Sun Java forum making use of Filter but i prefer commons jar. Any help on this is highly appretiated !! Thanks, Rajeev
|
SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
|
 |
 |
|
|
subject: commons fileupload with JSF
|
|
|