Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating a download Link in Servlet  RSS feed

 
Paul Okeke
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends
I am have some documents on my server which i will like my clinet to download for offline use.

My problem is how to create the download link so the when a user clicks on the link,
a window will pop up asking the user to either save/open the file.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66188
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search for "content-disposition".
 
Paul Okeke
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault thank for fast and useful response.

I am reading your write up in JSP just before this reply.

Thanks, I which to be like you, Solution provider
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!