• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help related to content type issue  RSS feed

Abhishek Purwar
Ranch Hand
Posts: 63
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!