🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #23316

Re: xml��applet������

#23316
From: ��������
Date: Wed, 06 Aug 2003 14:07
20 lines
1800 bytes
xmlStr�������ģ�
���xml������������ģ�
�� �� beflying (beflying) �Ĵ������ᵽ: ��
: ������ָ�㣺
: ������applet���������ȫ�쳣���������£�
: ErrorHandler errorhandler = null;
: Document doc = null;
: try   {
:    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
:    dbf.setValidating(true);          //��Ҫ��֤
:    DocumentBuilder db = dbf.newDocumentBuilder();
:    db.setErrorHandler(errorhandler);  //�����������
:    doc = db.parse(new InputSource( new StringReader(xmlStr)) );       //��ݲ������
: ...........................

--
    �����ţ��ǵ��������ţ�

�� �޸�:��iamangry �� 08��06��22:07:30  �޸ı��ġ�[FROM: 162.105.58.249]
�� ��Դ:������δ��վ bbs.pku.edu.cn��[FROM: 162.105.58.249]
Technical Details
Message-ID: <47YJ2V$9yR@bbs.pku.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,8bfb152e1f39cb4a,start
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-08-06 07:08:41 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU
From: iamangry@bbs.pku.edu.cn (��������)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: xml��applet������
Date: 06 Aug 2003 14:07:30 GMT
Organization: ����δ��վ
Message-ID: <47YJ2V$9yR@bbs.pku.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1060178815.A
Lines: 20