aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 1632
    
    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
 
Similar Threads
Tomcat showing error
Mistakenly changed web.xml
Configuring Tomcat 5 on Win2K and Linux
Java to Display Data from Database
web.xml causes 404 error