wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
response.setContentType("application/vnd.ms-excel");
using jsp to generate excel file
Servlet Response different from IE to Netscape
How to respond to the client in PDF format to the client from Servlet?
file download from JSP