Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

GZIPOutputStram response no file association  RSS feed

 
Mohan shriv
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my servlet response I am sending
A compressed file, but the file received by the client has no file association.

Client is needed to explicitly specify the extension then only it works fine.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you correctly setting the content type headers of the response?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!