org.apache.jasper.JasperException: Page directive has invalid attribute: contenttype

 2023-02-25    300  

我在使用mapxtreme4.8.2进行开发时,由于个人喜欢用myeclipse6.5进行开发,因此想把mapxtreme的例子移植到myeclipse6.5中,用的是j2ee1.4,使用mapxtreme自带的jre_1.5.0和apache-tomcat-5.5,不料发布以后,运行后出现标题所说的异常,查看对应的jsp页面,发现contenttype 中type的“t”没有大写,可能是j2ee1.4对jsp标签的属性区分大小写,改为“contentType ”后,问题解决。

以上所述是小编给大家介绍的org.apache.jasper.JasperException: Page directive has invalid attribute: contenttype,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对77isp云服务器技术网的支持!

org.apache.jasper.JasperException: Page   directive   has   invalid   attribute:   contenttype

原文链接:https://77isp.com/post/34429.html

=========================================

https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。