File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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