Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive (utf-8)

org.apache.jasper.JasperException:xxx.jsp(1,1) Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive (utf-8)

 

项目部署到机器上运行无错误,在打开网页的时候出现上述错误。   这个时候找到啊 xxx.jsp   把pageEncoding="utf-8"   改成  pageEncoding="UTF-8"。 

posted @ 2014-07-25 10:42  Crawford  阅读(455)  评论(0编辑  收藏  举报