File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes JSF fileupload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF fileupload" Watch "JSF fileupload" New topic
Author

JSF fileupload

srinivas bodapati
Greenhorn

Joined: Jul 09, 2008
Posts: 14
Hey,

I am hitting some errors when trying to use fileuploader that comes with JSf

My JSP:

<tr>
<td>
<hx:fileupload styleClass="fileupload" id="fileupload1"
value="#{person.file}">
<hx:fileProp name="fileName" />
<hx:fileProp name="contentType" />
</hx:fileupload>
</td>
</tr>
<tr>
<td>
<hx:progressBar auto="true" timeInterval="1000" proportion="5"
styleClass="progressBar" id="bar1" style="color: #fd025a"
initHidden="true" outward="true" message="Upload Success">
</hx:progressBar>
</td>
</tr>

I am unable to see the status bar...when i Click my submit button that submits the form.

or else do i need to have a separate button for the upload process.

my other concern is, how do i save the file i upload from my jsp.

I am a novice javascript:%20x()in JSF.

Any help is greatly appreciated.
javascript:%20x()
Thank you

S R I.javascript:%20x()


Perception Matters.
S R I
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF fileupload