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 Android Security Essentials Live Lessons this week in the Android 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: response.setContentType
 
Similar Threads
response.setContentType("application/vnd.ms-excel");
using jsp to generate excel file
file download from JSP
Servlet Response different from IE to Netscape
How to respond to the client in PDF format to the client from Servlet?