<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
页面加上上面的声明后,操作eclipse有卡的感觉,而且jsp解析起来好象变慢了,哪位朋友知道是怎么回事,非常感谢!
<html xmlns="http://www.w3.org/1999/xhtml">
页面加上上面的声明后,操作eclipse有卡的感觉,而且jsp解析起来好象变慢了,哪位朋友知道是怎么回事,非常感谢!
2.运行eclipse,进入window/preferences
3.点击web and xml/xml catalog
4.右边面板添加你下载的dtd文件更全信息请参考
http://blog.csdn.net/Acylas/archive/2008/03/07/2156166.aspx
的编辑验证功能。MyEclipse:
Window --> Preferences... --> MyEclipse --> ValidationEclipse WTP:
Window --> Preferences... --> Validation按 Disable All 按钮把所有的勾都取消掉,应用一下就可以了。如果在编辑时需要代码自动完成功能提示的话,可以按照 6 楼的方式,
添加本地 DTD 或 XSD 文件。