Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes response.setContentType Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "response.setContentType" Watch "response.setContentType" New topic
Author

response.setContentType

Ann Maria
Greenhorn

Joined: Sep 09, 2005
Posts: 27
What is the difference between response.setContentType("application/octet-stream"); and response.setContentType("application/x-file-download"); ?

For displaing text and image what is the parameter?
 
 
subject: response.setContentType