Solution to the garbled problem of include static html in the jsp page, jspinclude
This problem has occurred twice. It was not recorded last time, and today it has appeared again. However, the two scenarios are not completely consistent.
The solution for finding this article through a search today is good for your reference. The original blog address is http://blog.csdn.net/izgnaw/article/details/6178472.
Add the following code to web. xml:
- <! -- Control jsp: include encoding -->
- <Jsp-config>
- <Jsp-property-group>
- <Description>
- Special property group for JSP Configuration HTML
- Example.
- </Description>
- <Display-name> JSPConfiguration </display-name>
- <Url-pattern> *. html </url-pattern>
- <El-ignored> true </el-ignored>
- <Page-encoding> UTF-8 </page-encoding>
- <Scripting-invalid> false </scripting-invalid>
- <Include-prelude> </include-prelude>
- <Include-coda> </include-coda>
- </Jsp-property-group>
- </Jsp-config>