File download using Java, Struts 2 and AJAX
Posted
by amar4kintu
on Stack Overflow
See other posts from Stack Overflow
or by amar4kintu
Published on 2010-01-23T07:26:51Z
Indexed on
2010/06/10
8:02 UTC
Read the original article
Hit count: 177
Hello Friends,
I want to give file download using java,struts2 and ajax.
On my html page there is a button called "export" clicking on which ajax call will be made which will execute a query and will create .xls file using code and I want to give that file for download to user without storing it on hard drive.
Does any one know how to do that using struts2 and ajax in java?
Is there any example available?
Let me know if you need more details from me...
Thanks.
amar4kintu
© Stack Overflow or respective owner