ÇëÎÊJavaÈçºÎ°Ñxmlתtxt¸ñÊ½ÄØ£¿
½ñÌìÓöµ½Ò»¸öÎÊÌ⣬°ÑxmlÖеÄÖµ×°µ½.txt¸ñʽµÄÎļþÖС£
ÎÒĿǰÏëµ½Á½ÖֱȽϱ¿µÄ·½·¨£º1.¿ÉÒÔͨ¹ýxmlspy±à¼¹¤¾ßʵÏÖ
2.ͨ¹ý°Ñxmlת³ÉJavabean£¬È»ºóתµ½excelÖУ¬ÔÙ´Óб£´æÖØÃüÃûΪ.txt¸ñʽµÄÎļþ.
ÓÉÓÚ´¦ÀíxmlµÄÂß¼±È½Ï¸´ÔÓ£¬ÎÒµ£ÐÄ1´¦ÀíÆðÀ´²»ÊǺܺã¬ÔÚJava³ÌÐòÖоͲ»Ò»Ñù£¬Âß¼¸´ÔÓµãû¹ØÏµ¡£µ«ÊÇÎÒ²»ÖªµÀµ½µ×Ôõôת»»£¬²ÅÊÇ×î¼òµ¥¡£
Çë¸ßÊÖÖ¸µãÖ¸µã£¬»¹ÓÐÆäËû¸üºÃµÄ·½·¨£¬»òÕß½èÖúapi£¬°üʲôµÄ¡£
ÆÚ´ýÖС£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
¾Ù¸öÀý×Ó°É
Ò»¸öxmlÄÚÈÝÊÇʲô£¿Ð´µ½txtÎļþºóÄÚÈݱä³Éʲô£¿
<com.setecusa.hibernate.tblsalesorder.Tblsalesorder>
<fldInvNumber>A105-1502697-5500215</fldInvNumber>
<fldItemNumber>64373200000000</fldItemNumber>
<fldDate>2009-11-09 00:00:00.0 CST</fldDate>
<fldNote>phone=317 276 5363</fldNote>
<tblcustomers>
<fldCustomerName>Daniel Pereira Leal neto</fldCustomerName>
<fldAddress1>651 STOCKBRIDGE DR</fldAddress1>
<fldAddress2> </fldAddress2>
<fldCity>WESTFIELD</fldCity>
<fldSt>IN</fldSt>
<fldZipcode>46074-8822</fldZipcode>
<fldCountry>US</fldCountry>
<fldEmail>condea@gmail.com</fldEmail>
</tblcust
Ïà¹ØÎÊ´ð£º
<%@page language="java" contentType="text/html;charset=gb2312" import="java.sql.*"%>
<jsp:useBean id="db" class="wang.connectDB"/>
< ......
ÎÒÏëÓÃJavaдһ¸ö³ÌÐò£¬¾ÍÊÇÎÒÏëÔÚÔËÐдúÂëºó£¬ÔÚÖ¸¶¨µÄʱ¼ä´ò¿ªÄ³³ÌÐò£¬ÀýÈçÎÒÔËÐдúÂëºó£¬½²ÔÚ12£º00´ò¿ª"D:\Program Files\Tencent\QQ2009\Bin\QQ.exe"Õâ¸ö³ÌÐò£¬Çó¸ßÈËÖ¸µã¡£»¹ÓпÉÄܵϰÔÚÖ¸¶¨µÄʱ¼ä ......
ÎÒÏëÎÒjavaÕâÒ»·½Ãæ·¢Õ¹£¬ÓÐÄÄһλ¸ßÊÖ¿ÉÒÔ¸æËßÎÒ£¬Ïë³ÉΪһÃûJAVA±à³Ì¸ßÊÖ£¬Ëû±ØÐëҪѧϰµÄ֪ʶÂ𣿱ÈÈç˵ÎÒѧÍêÁËJAVAµÄ»ù´¡ÖªÊ¶Ö®ºóÎҸðÑÄ¿¹â·ÅÔÚÄÄÒ»·½Ã棬½ÓÏÂÀ´ÎÒÔÚѧϰÓйØJAVAµÄʲô֪ʶ£¿ÅóÓÑà ......
Ò»¸öJSPÒ³Ãæ½ÓÊÕÆäËûÒ³ÃæÌá½»¹ýÀ´µÄFORM±íµ¥£¬µ«ÊÇÒªÇóÖ»½ÓÊÕµ±Ç°Õ¾µã¼°Æä×ÓÕ¾µãÌá½»¹ýÀ´µÄFORM±íµ¥£¬ÆäËûÕ¾µãÌá½»¹ýÀ´µÄ±íµ¥²»½ÓÊÕ£¬Õâ¸öÔõôÉèÖã¿
ÓùýÂËÆ÷
filter
½«µ±Ç°Õ¾µã¼°Æä×ÓÕ¾µã·ÅÒ»¸öĿ¼
È» ......
ÈçÌ⣬C/C++ÖеÄexeclÔõôµ÷ÓÃдºÃµÄjava³ÌÐò£¬
execl("/opt/java1.5/bin/java","MyClass",NULL);
ÕâÑùµÄ²»ÐÐŶ¡£
²»»á.
ÔËÐÐjava³ÌÐò
ÕÒ¹¤¾ß²é¿´Ò»ÏÂÄǸö³ÌÐòµÄÃüÁîÐÐ
ËÑË÷Ï£ºjni ......