A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Add a Content-Type header in response for weblogic 9.x
Joined: Jun 11, 2007
Feb 02, 2014 05:56:37
When I use IE9 I am getting "CSS was ignored due to mime type mismatch" error in developer tool console and the relevant css is not apply and the web page is not align.
The cause is IE 9 checks for the Content-Type header in the response.
I request the below css file,
<link href="resource/css/general.css" rel="stylesheet" type="text/css" />
But in current response does not have the Content-Type = text/css as a response header.
How to add the Content-Type = text/css for the response header for css files.
I am using weblogic 9.x
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Add a Content-Type header in response for weblogic 9.x
JSP configured in web.xml
Can I set specific HTTP Content-Type encoding headers in web.xml?
Struts 2 / Tiles / Tiny MCE
Problem with POST in ajax
No Content-Encoding in Response headers, how to make tomcat perform gzip
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014