org.apache.jasper.JasperException: /jsp/room/../message.jsp(1,3) Page directive:

org.apache.jasper.JasperException: /jsp/room/../message.jsp(1,3) Page directive: illegal to have multiple occurrences of contentType with different values (old: text/html; charset=UTF-8, new: text/html; charset=UTF-8 )

这个错误比较简单,单就从字面上来看,错误就已经很明朗了,比如我这里就是room.jsp有这么一行代码:<%@include file="/message.jsp"%>,然后这两个页面的text/html; charset=UTF-8这句代码位置不对。所以只要把它们搞成位置一致就可以了。

你可能感兴趣的:(jsp)