Bookmark Topic Watch Topic
  • New Topic

client side download

 
Pradeep Adibatla
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Report post to moderator
How to save a downloaded file at client side? I mean saving a file in the client's system.
 
Paul Clapham
Sheriff
Posts: 21892
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Report post to moderator
That depends on what kind of client you're talking about. If your client is a browser, then you just leave it to the browser and the user to save the downloaded file wherever the user decides.
 
Pradeep Adibatla
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Report post to moderator
It's like an end user who did some shopping and made payment and he wants save a copy of transaction with himself. All this flow is in struts... but somehow the request to save the page is not going to server I believe
 
Paul Clapham
Sheriff
Posts: 21892
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Report post to moderator
Okay. So do you have a question? Your last reply sort of sounded like you had an existing system where you had tried to implement downloading a file, but failed.
 
Pradeep Adibatla
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Report post to moderator
Some improvement! I click on save,the request goes to webserver and readies the pdf(has the pdf) .i need to get this to client system.i have an action clas pdfgen and i am redirecting to new jsp which is not happening.hope i am clear.
 
Paul Clapham
Sheriff
Posts: 21892
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Report post to moderator
Aha. So it's this question here: http://www.coderanch.com/t/585066/HTML-CSS-JavaScript/Saving-as-pdf. I will close this thread so that people don't have to run back and forth between two threads on the same topic.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!