Comments on: ADF Faces File Uploading – It is really that simple! Friends of Oracle and Java Wed, 24 Jun 2015 09:59:44 +0000 hourly 1 By: Bayat Sun, 09 Oct 2011 07:32:43 +0000 Dear Lucas
Thank you for your interesting article.  Actually it was very helpful!
Now I need a “progress bar” for my “file uploading”, showing the percent of completion, especially for the files with  huge size.
I don’t know how to do this part of the code. I’ll be thankful if you guide me on this matter.

By: vosime Tue, 04 Oct 2011 21:59:05 +0000 hi,
i managed to run the sample on the Jdev 11.1.2 :)
here is what i did.
. first i downloaded jfreereport-0.8.6.jar (for ExcelProcessor class) and jcommon-1.0.15.jar (for StackableException class) via jar search.
. then replaced the <managed-bean-class>nl.amis.adffaces.excel.ExcelProcessor</managed-bean-class> with <managed-bean-class></managed-bean-class>
then ran the sample :-)
hope this helps

By: kunal Tue, 20 Sep 2011 14:52:51 +0000 I am unable to run this example on Jdeveloper 11.1.2…..
Can u please help??

By: Sombit Tue, 13 Sep 2011 11:40:15 +0000 Hi
Using your program where(location)will the file be placed on to server .
In my case if I am running from local then the file should be uploaded to my local jdev directory structure. But I dont find the file uploaded.


By: venkat Mon, 15 Feb 2010 13:45:26 +0000 i tried excel instead of text file. It is unable to read excel data , displaying in unreadable format .
i tried to put  

 FileInputStream fis = fis = new FileInputStream(this.uploadedfile.getInputStream);
                HSSFWorkbook workbook = new HSSFWorkbook(fs);
                HSSFSheet sheet = workbook.getSheetAt(0);

i’m getting error , “FileinputStream(uploadfile) can not invoke FileInputStream(File)”.

i aslo tried to put  his.filecontents = parseISToString(uploadedFile.getInputStream()). giving me error file format/content can not resolve.

any sample code or link that could help me to solve the issue

By: venkat Mon, 15 Feb 2010 12:58:55 +0000 Hi ,
       It is working fine with .txt ,but i need using excel sheet. can any one me with this

By: Fernando Fri, 25 Sep 2009 16:01:28 +0000 Awesome, thx, Im using Oracle JDev 11g and I dont use this oracle.adf.view.faces.model.UploadedFile Instead im Using org.apache.myfaces.trinidad.model.UploadedFile

I fallow one by one of ur Steps and every goes just great. the only thing, I create a Button with label “Start Uploading!” with no code and default properties, just to upload the file selected.

And Now I will try upload a picture. Any help with this?

By: SMT Fri, 05 Jun 2009 09:34:50 +0000 I’m working on jdev There seems no more class (oracle.adf.view.faces.model.UploadedFile). Instead, there is only org.apache.myfaces.trinidad.model.UploadedFile. Even in Oracle document, it teaches people to use trinidad.

I follow Oracle’s documentation but receive this error java.lang.ClassCastException: mypackage.view.myBackingBean cannot be cast to javax.servlet.Filter

So, do I need to declare mybacking bean as a filter?

By: Marko Mon, 06 Apr 2009 18:12:08 +0000 hey man, i need to upload files with a filesize greater than 50MB, but i have problems, with the file size, i had modified the init properties inthe web.xml, but it does not work, any idea?

By: Suhana Redzwan Mon, 16 Feb 2009 07:58:16 +0000 Hi there..this is a cool stuff…but I wanted to save the file to a physical can i do this?

By: Aldrino Tue, 09 Sep 2008 16:54:35 +0000 Very useful!.
I tested that in jDeveloper, and it works. Just a warning appeared in class “”, that was “DataInputStream readLine is deprecated”, but you can solve this using java class “BufferedReader” instead “DataInputStream”, like this:

Before: din = new;
After: BufferedReader din = new BufferedReader(new InputStreamReader(is));

By: Ash Manukyan Tue, 29 Apr 2008 14:13:46 +0000 Hi, I am a newbie in Jdeveloper and I was wondering if anybadoy has a .pdf or something with steps to configure enad register an adf in EBS 11.5.10.x or R12.

By: Ashwini Thu, 17 Apr 2008 07:18:37 +0000 I need to upload the file from client to server. By using this application how will I know where the file is saved in server? I need it as a file, not only the contents. Thanks.

By: itu Wed, 03 Oct 2007 05:00:56 +0000 could anybody tell me all the jar that i need for that application to make it rannable in ecplise-tomcat envirnment and the settings.

By: itu Tue, 02 Oct 2007 16:10:00 +0000 hello….this application is running on jdeveloper11g..but it is not running on eclipse-tomcat envirnment..may be i have missed nay jar file.could u pls tell me to make this runnable there what all i have to do?