Hi Alessandro,

Is there any servlet filter running which modifies the "Content-Type"
headers?
Look at the web.xml for <filter/> tag.

Daniel Baktiar

On Thu, Nov 6, 2014 at 7:04 PM, Alessandro Panzeri <
alessandro.panzer...@gmail.com> wrote:

> I deployed a war on Tomcat 7 to serve a jsp page.
>
> In the jsp page I put this css tag:
>
> <link href="../css/new_style.css" rel="stylesheet" type="text/css"/>
>
> Also, at the beginning of the jsp page I put this:
>
> <%@ page contentType="text/html;charset=utf-8" %>
>
> However when I contact via browser such jsp page, the css is NOT loaded and
> I found that the reason is (returned by Google Chrome inspecting the page):
>
> "Resource interpreted as Stylesheet but transferred with MIME type
> text/plain."
>
> I can't figure out what to modify...any advice?
>

Reply via email to