請問在解析xml檔案時報錯是什麼原因?

mww123發表於2004-07-13
DocumentBuilderFactory dbf= DocumentBuilderFactory.newInstance();
DocumentBuilder db=dbf.newDocumentBuilder();
Document doc=db.parse("test.xml");
<p class="indent">

異常:java.net.MalformedURLException: no protocol: test.xml
win2000,tomcat

請幫忙!

相關文章