Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Stefano Cazzola
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are going to need to provide more detail maybe a small sample that reproduces the issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic