How to create xml and csv file a client side using jsp and servlet?
Joined: May 28, 2012
My problem is how to create a xml and csv report file at client side using jsp and servlet.
I have create xml file but it is create at server side where the application is running but when client side create a file ,it is create at server side.
Please help me
Thank you in advance.
sudarshan jadhav wrote:My problem is how to create a xml and csv report file at client side using jsp and servlet.
JSP and servlets run at the server, so I'm not sure what you mean by "at the client side". Anything done by JSP and servlets is going to happen on the server, not the client.
Now, if by that you perhaps mean that you want to send the data to the client after it has been created on the server, then rather than writing it to a file on the server, you would write the data to the response of a request.
Thank you Bear for reply,
Problem is solved same thing is happen server side create a file which can download at client side by response and file save dialog box is appear client side and can save to his system to any drive thank you bear