Web tier: servlets, JSP, Web frameworks: Urgent !!!! How to provide download option to the data generated
- Posted by: praveen kumar
- Posted on: January 30 2002 22:38 EST
Thankyou in advance.
I have two jsp's say 1.jsp and 2.jsp,
An button is provided in 1.jsp it will invoke 2.jsp . In ordinary situation when 2.jsp is invoked all the data generated will be displayed in the browser. But i want that data to be saved as .csv in client side. So when the button is pressed in 1.jsp it must ask for save as to location........ for the data generated from 2.jsp. How to get this???
Please reply as soon as posible it is very urgent.
- Urgent !!!! How to provide download option to the data generated by Markus Kirsten on January 31 2002 08:08 EST
Won't it work directly if you set the MIME-type to a non-browser readable? If the browser can't display it - it will user helper applications (or download it).
Hope this helps!