JasperException: illegal to have multiple occurrences of 'contentType with different values

org.apache.jasper.JasperException: /WEB-INF/jsp/included/_core.jsp (line: [1], column: [2]) Page directive: illegal to have multiple occurrences of 'contentType' with different values (old: [text/html;charset=UTF-8], new: [text/html; charset=UTF-8])

 

<%@include file="/WEB-INF/jsp/included/_core.jsp"%>

This error will be reported if different contentType values ​​appear after include. The idea directly creates the contentType value in the jsp page page command without spaces by default

text/html;charset=UTF-8

Guess you like

Origin blog.csdn.net/u014698745/article/details/105974350