¹ØÓÚJAVAдÈëXMLµÄÊôÐÔ˳ÐòÎÊÌâ
XML code:
oxh = xmldoc.createElement("row");
oxh.setAttribute("DIC_CODE",obj.getDicCode());
oxh.setAttribute("DIC_TEXT",obj.getDicText());
oxh.setAttribute("DIC_SPELL","");
oxh.setAttribute("DIC_ASPELL","");
root.appendChild(oxh);
ÎÒÒªµÄ˳ÐòÊÇÕâÑùµÄ£º <row DIC_CODE="02" DIC_TEXT="δ»é" DIC_SPELL="" DIC_ASPELL=""/>
µ«ÊÇÖ´ÐкóµÄ˳ÐòÊǰ´×Öĸ´óСдµÄ¸ñʽ£º <row DIC_ASPELL=""DIC_CODE="02" DIC_SPELL="" DIC_TEXT="δ»é"/>
Çë½Ì¸ßÈËÔõôÉèÖÃ˳ÐòÎÊÌâ?
»¹ÕæÃ»×¢Òâ!DC¹Ø×¢Ò»ÏÂ
ѧϰ
UP
¸ã²»¶¨£¬°ï¶¥ÁË
JAVAÈçºÎ²éÕÒXMLij¸ö½ÚµãµÄÊôÐÔÖµ W3C
XML code:
<?xml version="1.0" encoding="UTF-8"?>
<data>
<row DIC_ASPELL="" DIC_CODE="1" DIC_SPELL="" DIC_TEXT="222"/>
<row DIC_ASPELL="" DIC_CODE="2" DIC_SPELL="" DIC_TEXT="222"/>
</data>
±ÈÈ磺ÎÒÒª²éÕÒDIC_CODE="2"µÄÕâ¸ö½Úµã£¬´úÂëÔõÃ´Ð´ÄØ£¿
......Õâ¸öÕæÊDz»ÔõôºÃ°ì¡£¡£¡£ ¸Õ²Å¸øÄãµÄ dom4j »¹¿ÉÒ
Ïà¹ØÎÊ´ð£º
ÎÊÌâÃèÊö£ºÐ´ÈÕÖ¾¹¦ÄÜ£¬Ð´ºÃµÄдÈÕÖ¾·þÎñ£¬ÆäËûÓû§Í¨¹ýhttpµ÷Ó÷þÎñ£¬´«Èë²ÎÊý£¬È»ºó¼Ç¼ÈÕÖ¾£¬
ÎҵķþÎñ¸ÃÔõôд£¬ ±ðÈËÔõôͨ¹ýhttpµ÷ÓÃÎҵķþÎñ£¬ÎÒÓÃwebserviceдºÃÁËÒ»¸ö£¬¿ÉÊDz¢·¢ÓÐÉÏÏߣ¬Ïë¸ÄÓ ......
µ±ÖªµÀÒ»¸öÈÕÆÚ£¬ÈçºÎ°ÑÕâ¸öÈÕÆÚËùÔÚÑ®µÄǰºóÁ½¸öÈÕÆÚÈ¡³ö
±ÈÈçÊäÈë20090905£¬¾ÍÊäÈë20090901 20090910
Êä³ö20090901 20090910
È¡µÃÌìÊýºó×÷Ò»ÏÂÅжÏÔÙ°ÑÕâ¸ö·½·¨ÓÃÏÂvoid set(int field, int value)
......
DataSetµ¼³öxml Åú´¦Àí(Ñ»·)µÃÔõô´¦Àí
XMLÎļþ
<A>
<B>
<C>
</C>
&nb ......
Ò»¸öJSPÒ³Ãæ½ÓÊÕÆäËûÒ³ÃæÌá½»¹ýÀ´µÄFORM±íµ¥£¬µ«ÊÇÒªÇóÖ»½ÓÊÕµ±Ç°Õ¾µã¼°Æä×ÓÕ¾µãÌá½»¹ýÀ´µÄFORM±íµ¥£¬ÆäËûÕ¾µãÌá½»¹ýÀ´µÄ±íµ¥²»½ÓÊÕ£¬Õâ¸öÔõôÉèÖã¿
ÓùýÂËÆ÷
filter
½«µ±Ç°Õ¾µã¼°Æä×ÓÕ¾µã·ÅÒ»¸öĿ¼
È» ......
ÈçÌ⣬C/C++ÖеÄexeclÔõôµ÷ÓÃдºÃµÄjava³ÌÐò£¬
execl("/opt/java1.5/bin/java","MyClass",NULL);
ÕâÑùµÄ²»ÐÐŶ¡£
²»»á.
ÔËÐÐjava³ÌÐò
ÕÒ¹¤¾ß²é¿´Ò»ÏÂÄǸö³ÌÐòµÄÃüÁîÐÐ
ËÑË÷Ï£ºjni ......