对a 、b文件的</head></head> 中加上<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

解决方案 »

  1.   

    好像还不行~~~啊~~~~
    是在A.JSP后面多了些字符,连END.JSP显示错误~~
    会不会是TOMCAT的问题?
      

  2.   

    我把TEST文件改为这样了:
    <%@ page contentType="text/html; charset=GB2312" %>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </head>
    <html>
    <body>
    <%@include file="a.jsp" %>
    <%@include file="end.jsp" %>
    </body>
    </html>A.JSP:你好
    END.JSP:我好还是不行,到END.JSP的开头,总会帮页面加上一些字符~~~
    我的TOMCAT里没有设置什么过滤类啊,为什么会这样啊,天啊~~~~~~~
      

  3.   

    我把它上传了,大家帮我看看啦,谢谢
    http://www.freewebs.com/xcarlos/a.zip