dhruvchandna
Posts: 2
|
Posted: 03/30/2007, 5:18 AM |
|
I would like to know how can i implement a file upload functionality using jsp with UI something similar to the gmail.
There should be no browse button just a link that user should click for the file browse dialogue to open and after selecting a file the name should be displayed. I do not want to use the textbox and the browse button that comes alongwith the <file> tag.
I'm clueless about it.
Thanks a lot
Regards,
Dhruv
|
|
|
negociant
Posts: 31
|
Posted: 03/30/2007, 5:57 AM |
|
gMail is written on GWT. So it's ajax aplication.
File for upload is sending by ajax request.
File upload in CCS is html based component.
So uploaded file is sending by browser (And not use ajax).
1. You can try to hide file upload component (use style or frame) and fill + send form from js.
2. You can try found/create some ajax file upload and add it to CCS page. But in this case you must be careful with request. It must be identical to form posting by browser from html.
|
|
|
dhruvchandna
Posts: 2
|
Posted: 04/02/2007, 9:41 AM |
|
Hi... thanks a lot.
|
|
|
|