aspose file tools*
The moose likes BEA/Weblogic and the fly likes Need help related to content type issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Need help related to content type issue" Watch "Need help related to content type issue" New topic
Author

Need help related to content type issue

Abhishek Purwar
Ranch Hand

Joined: Dec 15, 2007
Posts: 63

Hi Friends,

I have an issue related to content type. In my web application, I have different type of resources like css, images (.jpg, .gif, .png, etc.), htmls, xmls, etc.
I try access these contents by directly hitting the resource url. Irrespective of what content it is, every resource has same content-type header i.e. "text/html; charset=UTF-8" and hence image is getting parsed by browser so image is not visible instead it shows some character stream.
Kindly suggest how to fix this issue so that every content has proper content-type header.

Thanks in advance to all.

Regards,
Abhishek


Abhishek Purwar,
Bangalore.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help related to content type issue
 
Similar Threads
Problem with Target Attribute
HF book pg133 ~ setHeader("content-type")
check if there is a gif viewer
Need suggestion regarding an issue related to content type header
REST, XML over HTTP, Web Services?