Rising Sun
BlogJava
::
首頁
::
新隨筆
::
聯(lián)系
::
聚合
::
管理
::
148 隨筆 :: 0 文章 :: 22 評論 :: 0 Trackbacks
<
2008年7月
>
日
一
二
三
四
五
六
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
常用鏈接
我的隨筆
我的評論
我的參與
最新評論
留言簿
(10)
給我留言
查看公開留言
查看私人留言
隨筆分類
cpp(3)
(rss)
css(6)
(rss)
hibernate+struts+spring(3)
(rss)
javascript(9)
(rss)
Lucene(3)
(rss)
oracle 數(shù)據(jù)庫(6)
(rss)
云計算(4)
(rss)
其它(6)
(rss)
處理Excel poi(6)
(rss)
學(xué)習(xí)總結(jié)(15)
(rss)
環(huán)境設(shè)置(2)
(rss)
隨筆檔案
2015年1月 (3)
2014年12月 (1)
2014年9月 (1)
2014年6月 (2)
2014年4月 (2)
2014年1月 (2)
2013年12月 (3)
2013年11月 (1)
2013年10月 (2)
2013年8月 (2)
2013年7月 (3)
2013年5月 (3)
2013年3月 (9)
2013年2月 (8)
2013年1月 (4)
2012年10月 (1)
2012年9月 (2)
2012年8月 (1)
2012年7月 (3)
2012年5月 (1)
2012年1月 (1)
2011年3月 (1)
2010年12月 (1)
2009年12月 (1)
2009年10月 (1)
2009年8月 (4)
2009年7月 (3)
2009年6月 (2)
2009年5月 (2)
2009年4月 (3)
2008年11月 (3)
2008年10月 (2)
2008年9月 (1)
2008年8月 (2)
2008年7月 (3)
2008年5月 (1)
2007年11月 (1)
2007年10月 (2)
2007年9月 (2)
2007年8月 (3)
2007年7月 (6)
2007年6月 (3)
2007年4月 (2)
2006年12月 (2)
2006年11月 (1)
2006年10月 (2)
2006年9月 (3)
2006年8月 (3)
2006年7月 (26)
2005年11月 (4)
相冊
我的相冊
java--->ajax
BlueDavy
http://www.aygfsteel.com/BlueDavy/
css
css
eamoi
搜索
最新評論
1.?re: request.getParameterValues與request.getParameter的區(qū)別:
5+5+
--5465
2.?re: 關(guān)于filter驗(yàn)證用戶權(quán)限
333
--12
3.?re: Gson通過借助TypeToken獲取泛型參數(shù)的類型的方法
博主如果解決了樓上的問題 請聯(lián)系我 萬分感謝 聯(lián)系方式QQ 474233979
--yueguangxuanyuan
4.?re: Gson通過借助TypeToken獲取泛型參數(shù)的類型的方法
評論內(nèi)容較長,點(diǎn)擊標(biāo)題查看
--yueguangxuanyuan
5.?re: CMS,全稱Concurrent Low Pause Collector gc[未登錄]
很有用。非常感謝!!!!
--匿名
閱讀排行榜
1.?Gson通過借助TypeToken獲取泛型參數(shù)的類型的方法(42682)
2.?304 Not Modified狀態(tài)碼(18909)
3.?電腦非法關(guān)機(jī) 導(dǎo)致ORA-01033:解決方法(9095)
4.?struts2 -- interceptor(如何配置Interceptor) (7517)
5.?MYSQL在默認(rèn)的情況下查詢是不區(qū)分大小寫的(7361)
評論排行榜
1.?Gson通過借助TypeToken獲取泛型參數(shù)的類型的方法(6)
2.?Busy Developers' Guide to HSSF Features (說明書)(3)
3.?對于網(wǎng)上看到Window.Open()傳值(3)
4.?excel 處理 Poi(1)
5.?關(guān)于filter驗(yàn)證用戶權(quán)限(1)
簡單的將String類型的xml轉(zhuǎn)換為對象的代碼
利用w3c的dom:
DocumentBuilderFactory factory
=
DocumentBuilderFactory.newInstance();
DocumentBuilder builder;
try
{
builder
=
factory.newDocumentBuilder();
Document doc
=
builder.parse(
new
ByteArrayInputStream(str.getBytes()));
}
catch
(ParserConfigurationException e)
{
//
TODO Auto-generated catch block
e.printStackTrace();
}
catch
(SAXException e)
{
//
TODO Auto-generated catch block
e.printStackTrace();
}
catch
(IOException e)
{
//
TODO Auto-generated catch block
e.printStackTrace();
}
利用1 dom4j
SAXReader saxReader
=
new
SAXReader();
Document document;
try
{
document
=
saxReader.read(
new
ByteArrayInputStream(str.getBytes()));
Element incomingForm
=
document.getRootElement();
}
catch
(DocumentException e)
{
//
TODO Auto-generated catch block
e.printStackTrace();
}
利用 2 dom4j :
String text = "<person> <name>James</name> </person>";
Document document = DocumentHelper.parseText(text);
posted on 2008-07-29 11:17
brock
閱讀(172)
評論(0)
編輯
收藏
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發(fā)表評論。
網(wǎng)站導(dǎo)航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
Powered by:
BlogJava
Copyright © brock
主站蜘蛛池模板:
修文县
|
巨鹿县
|
潞西市
|
张家界市
|
隆昌县
|
诸城市
|
沙坪坝区
|
新丰县
|
新昌县
|
临沭县
|
怀柔区
|
松阳县
|
阳春市
|
雷波县
|
正安县
|
谷城县
|
上杭县
|
舞钢市
|
磐石市
|
博野县
|
南木林县
|
克拉玛依市
|
邵阳县
|
襄汾县
|
衡阳市
|
中山市
|
辽宁省
|
高邑县
|
梅州市
|
项城市
|
中阳县
|
平远县
|
马关县
|
饶河县
|
富源县
|
乌拉特前旗
|
耒阳市
|
增城市
|
岑溪市
|
灵宝市
|
仙居县
|