当前位置: 代码迷 >> HTML/CSS >> 读取HTML资料出错
  详细解决方案

读取HTML资料出错

热度:302   发布时间:2012-10-28 09:54:44.0
读取HTML文件出错
读取HTML文件(采用org.dom4j.*):
SAXReader saxReader = new SAXReader();  
Document document = saxReader.read(new File(filename));  

获取document对象时控制台报错:
The entity name must immediately follow the '&' in the entity reference.
1 楼 lord_is_layuping 2012-02-29  
遇到相同问题了,请教博主如何解决的?
  相关解决方案