Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

java xml

First
Parsing an XML Document
To read an XML document, you need a DocumentBuilder object, which you get from a DocumentBuilderFactory, like this:DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
You can now read a document from a file:File f = . . .
Document doc = builder.parse(f);
Alternatively, you can use a URL:URL u = . . .
Document doc = builder.parse(u);
You can even specify an arbitrary input stream:InputStream in = . . .
Document doc = builder.parse(in);
Validating XML Documents


Ïà¹ØÎĵµ£º

Çë½ÌһЩ¹ØÓÚJAVAÃæÊÔÎÊÌâ Óкܶà лл´ó¼Ò°ïæ

Ìâ    Ä¿
javaÓëC#Ïà±È£¬JavaµÄÓÅÊÆÔÚÄÄÀ
 
    1.strutsÔË×÷¹ý³Ì,hibernateµÄ×÷ÓÃ
 
hibernateÖУ¬ÔõôÅжÏÊDzåÈ뻹ÊǸüÐÂ?
 
ÔõôʹÓÃjavascript½øÐÐÒ³ÃæÌø×ª£¿
 
ÔõôʹÓÃjavascript½«Ò»¸öÒ³ÃæµÄÒ»¸ö²ÎÊý´«µÝµ½ÁíÍâÒ»¸öÒ³Ãæ£¿
 
ʹÓô洢¹ý³Ì½øÐ ......

Java»ñÈ¡IPµØÖ·:request.getRemoteAddr()¾¯Ìè

Java»ñÈ¡IPµØÖ·:request.getRemoteAddr()¾¯Ìè

¹Ø¼ü×Ö: request ip

ÔÚJSPÀ»ñÈ¡¿Í»§¶ËµÄIPµØÖ·µÄ·½·¨ÊÇ£ºrequest.getRemoteAddr()
£¬ÕâÖÖ·½·¨Ôڴ󲿷ÖÇé¿ö϶¼ÊÇÓÐЧµÄ¡£µ«ÊÇÔÚͨ¹ýÁËApache,SquidµÈ·´Ïò´úÀíÈí¼þ¾Í²»ÄÜ»ñÈ¡µ½¿Í»§¶ËµÄÕæÊµIPµØÖ·ÁË¡£
Èç¹ûʹÓÃÁË·´Ïò´úÀíÈí¼þ£¬½«http://192.1 ......

Thinking in Javaѧϰ±Ê¼Ç£¨Ò»£©

ÔÚjava³ÌÐòÖУ¬ÍòÊÂÍòÎï½Ô¶ÔÏ󣬼´Ê¹ÊÇjava³ÌÐò±¾Éí£¬Ò²ÊÇÒ»¸ö¶ÔÏó
Ò»¡¢ReferenceÊDzÙ×ݶÔÏóÖ®Ô¿³×
             cÓïÑÔÖÐÊÇʹÓÃÖ¸ÕëÀ´²Ù×ݶÔÏóµÄ£¬µ«ÊÇjavaÄØ£¿ÓõÄÊÇreferenceÀ´²Ù×ݶÔÏó£¬ÎÒϰ¹ß°ÑËû½Ð×ö¾ä±ú£¬¾ä±úºÍ¶ÔÏóµÄ¹ØÏµ¾ÍÏëÊǵçÊÓÒ£¿ØÆ÷ºÍµçÊÓ»ú ......

JavaÊ®´ó×îÎÞÓÃÌØÐÔ

±¾ÎÄΪÄúÁоÙÁËJavaÖÚ¶àÌØÐÔÖÐÅÅÃûµÄǰʮ¸öÌØÐÔ£¬²»ÖªµÀÄúÊÇ·ñÓÐͬÑùµÄ¸Ð¾õ¡£
10£© const£¬goto
ʲô£¿Ã»´í£¬ËüÃǶ¼ÊÇJavaµÄ¹Ø¼ü×Ö£¬µ«ËüÃÇʲôҲ²»¸É¡£
9£© JavaµÄЩÐíȤζ
ÏñPersonal Java£¬JavaOS.
8£© Ë÷Òý»¯µÄJar
Ë÷Òý»¯µÄJarÊÇÖ¸ÕâÑùµÄJarÎļþÖаüº¬ÓÐÒ»¸öÌØÊâµÄË÷ÒýÎļþ£¨META-INF/INDEX.LIST£©£¬¸ÃÎļþÓÃÓÚÖ¸ ......

JavaºËÐÄAPIÐèÒªÕÆÎյij̶È


JavaµÄºËÐÄAPIÊǷdz£ÅÓ´óµÄ,Õâ¸ø¿ª·¢ÕßÀ´Ëµ´øÀ´Á˺ܴóµÄ·½±ã£¬¾­³£ÈËÓÐÆÀÂÛ,javaÈóÌÐòÔ±±äɵ¡£
µ«ÊÇһЩÄÚÈÝÎÒÈÏΪÊDZØÐëÕÆÎյ쬷ñÔò²»¿ÉÒÔÊìÁ·ÔËÓÃjava£¬Ò²²»»áʹÓþͺÜÄѰìÁË¡£
1¡¢java.lang°üϵÄ80£¥ÒÔÉϵÄÀàµÄ¹¦ÄܵÄÁé»îÔËÓá£
2¡¢java.util°üϵÄ80£¥ÒÔÉϵÄÀàµÄÁé»îÔËÓã¬ÌرðÊǼ¯ºÏÀàÌåϵ¡¢Õý¹æ±í´ïʽ¡¢Ê±¼ä¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ