jQuery in Action, 2nd edition*
The moose likes Spring and the fly likes Resource interpreted as Script but transferred with MIME type text/html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Resource interpreted as Script but transferred with MIME type text/html" Watch "Resource interpreted as Script but transferred with MIME type text/html" New topic
Author

Resource interpreted as Script but transferred with MIME type text/html

Stefano Cazzola
Greenhorn

Joined: Apr 21, 2011
Posts: 6
As the title, when rendering a view (the web app is built with Spring MVC) Chrome warns me that a resource is interpreted as script but with wrong mime/type.
Inpecting this resource I found that it was actually my page! (and it shouldn't be interpreted as script, obiously )

Any idea?

Thanks,
Stefano
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

I think you are going to need to provide more detail maybe a small sample that reproduces the issue.


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resource interpreted as Script but transferred with MIME type text/html