File download using Java, Struts 2 and AJAX
- by amar4kintu
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