我使用resin-3.1.7a作为我的应用程序服务器,并且我的大多数jsp文件都是启动with<%@页面contentType="text/vnd.wap.wml;charset=UTF-8"%>&65292;It在resin-3.0.14&65292中运行良好;但是当我将应用程序移动到resin-3.1.7时,它不能工作,错误是:
字符集‘contentType /html’与以前的contentType 'text/html‘值冲突;字符集=UTF-8’。检查.jsp和任何包含的.jsp文件是否存在冲突。
10: <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
11:
12: <%@page contentType="text/html" pageEncoding="UTF-8"%>
13: <!DOCTYPE html>
14: <script type="text/javascript">发布于 2016-08-18 08:29:00
<%@page language="java" contentType="text/html" pageEncoding="UTF-8"%>相反,
<%@page contentType="text/html" pageEncoding="UTF-8"%>https://stackoverflow.com/questions/33971948
复制相似问题