解决illegal to have multiple occurrences of conte...
如果碰见了illegal to have multiple occurrences of contentType with different values的问题 不用想 肯定是编码的问题gb2312或者utf-8或者ISO8859-1或者gbk什么什么 一定要注意编码 不然一个小问题都整半天 ————————————————————————————————————————————————— 解决illegal to have multiple occurrences of contentType with different values错误 作者:吕海鹏 文章来源:itstudy原创 发表时间:2008-9-27 12:01:40 阅读次数:今日:3 本周:19 本月:24 总计:3972 今天写jsp程序,在一个文件中包含了另一个文件(checkPurview.jsp)来做权限验证,可执行候却出现执行错误: org.apache.jasper.JasperException: /admin/adminUser/../incs/checkPurview.jsp(1,1) Page directive: illegal to have multiple occurrences of contentType with different values (old: text/html