回覆列表
  • 1 # 影片好笑

    用的是jdom包URL url = RederXml.class.getClassLoader().getResource(""); String path = url.toString() + "/config.xml";\\工程種xml的路徑 HashMap<String, String> map = new HashMap<String, String>(); SAXBuilder sax = new SAXBuilder(); Document doc = null; try { doc = sax.build(path); } catch (JDOMException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (IOException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } Element root = doc.getRootElement();

  • 中秋節和大豐收的關聯?
  • 男朋友說家裡實在拿不出50萬,但我又非常想和他結婚,爸媽又不同意,怎麼辦?急死了?