On 11/7/2014 7:55 PM, Daniel Baktiar wrote:
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?


Hi, Alessandro-

Something doesn't seem right to me.

What is the URL you use to access the JSP page?
What is the path name of your application directory?
What is the path name of the CSS directory?

-Terence Bandoian


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to