You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Srikanth Madarapu <sr...@senior-systems.com> on 2005/07/14 18:13:41 UTC
RE: FileUpload Problem
What do you mean by immediately after hitting the button ?
Once you submit the form the file is uploaded into the binding attribute of your backing bean (the instance of UploadedFile), you can get the input stream from that file. I don't know where were you trying to get the input stream from.
HTH
Srikanth
-----Original Message-----
From: speriyas@indiana.edu [mailto:speriyas@indiana.edu]
Sent: Thursday, July 14, 2005 12:01 PM
To: Rashmi.Kumari@rmsi.com; Srikanth Madarapu; mwessendorf@gmail.com
Subject: FileUpload Problem
Hi,
I have a question in JSF and I hope to get your ideas.
I tried the myfaces fileupload and it works well. But, I want to read the file
immediately after I hit the <load to > button. I tried to use the
getInputStreamRreader () method , but I get servlet exception. Any suggestion.
Thanks,
Suba.