The introduction of external css style error Resource interpreted as Stylesheet but transferred with MIME type html / text

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

Solution:

1. The content-type to text / css

2. Modify Filter Encoding

Reason: when coding using response.setContentType filter = "text / html" can not lead to the introduction of external css.

 

Guess you like

Origin www.cnblogs.com/binhuang01/p/11873462.html