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 integrate upload file with form Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "integrate upload file with form " Watch "integrate upload file with form " New topic
Author

integrate upload file with form

Suresh Khant
Ranch Hand

Joined: Feb 27, 2010
Posts: 114
Hi all,

I want to create a page which contains a form , in this form i want to fill details of the employee as well as browse to employee picture and at the last save the form ( while saving the form , the employee picture will be uploaded and his/her details will be saved)

I have found richfaces component to upload a file
http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf
and i have made example and it worked fine.
, and i have already made example to make a form and it worked fine


in my current page the file will be uploaded first , then the form will be filled and submitted , what i want is that (submission of form as and uploading of file should be simultaneously)
, but i really dont know how to integrate file upload with a form .

Could any one help me .
Suresh Khant
Ranch Hand

Joined: Feb 27, 2010
Posts: 114
by the way here is the form

Suresh Khant
Ranch Hand

Joined: Feb 27, 2010
Posts: 114
Any reply.............
Suresh Khant
Ranch Hand

Joined: Feb 27, 2010
Posts: 114
Any reply.............
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: integrate upload file with form
 
Similar Threads
upload in jsp
Upload a file?
Problem submitting POST request
apache.commons.fileupload - Browser blocks ajax requests
upload file question