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

 

jsp页面上:Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive(utf-8)问题

今天在修改别人的代码的时候,遇到一个错误,某个jsp的第一行有错误:

Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive(utf-8)  ,刚看了错误信息没明白。

就上百度搜了一下,有高手说UTF-8 和utf-8 含义不一样。后来吧小写utf-8改成了大写的UTF-8,问题解决了。

 

网上的资料地址:

http://omarix.iteye.com/blog/1149461

http://zisetoufa.iteye.com/blog/1120214

http://yangzg216.iteye.com/blog/1171322

http://www.cnblogs.com/java0819/archive/2008/12/27/2146227.html

都是一个意思

你可能感兴趣的:(xml,jsp,百度)