• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create xml and csv file a client side using jsp and servlet?

 
sudarshan jadhav
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
:confused:
Hello everyone,
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65128
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sudarshan jadhav
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
:beerchug:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic