CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Attach / Upload File in Gmail Style

Print topic Send  topic

Author Message
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
View profile  Send private message
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.

View profile  Send private message
dhruvchandna

Posts: 2
Posted: 04/02/2007, 9:41 AM

Hi... thanks a lot.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.