xmlתJTreeµÄ¼òµ¥JavaÎÊÌâ - Java / Java EE
ÏÖÓÐÈçÏÂÒ»¸öxmlÎĵµ£¨¿ÉÒÔÊÇxml¸ñʽµÄ×Ö·û´®£©£º
<Department id='-1'>
<Department id='1' pid='-1' name='D'>
<Department id='4' pid='1' name='A'>
<Department id='6' pid='4' name='C'>
</Department>
</Department>
</Department>
<Department id='2' pid='-1' name='E'>
<Department id='5' pid='2' name='B'>
<Department id='7' pid='5' name='G'>
</Department>
</Department>
</Department>
<Department id='3' pid='-1' name='F'>
</Department>
</Department>
ÈçºÎת»»³ÉJTree£¬ÆäÖÐJTreeÀïÍ·Ö»ÒªÓÐnameÕâ¸öÊôÐԾͿÉÒÔÁË£¡
×Ô¼º¶¥¸ö~
°ÑÊ÷¸ùºÍ¸ù½Úµã´«Èë¼´¿É£¡
·Ç³£¸Ðл£¡
Ïà¹ØÎÊ´ð£º
JSPÒ³ÃæÖÐÓжà¸öradio°´Å¥
JSPÒ³Ãæ½«²ÎÊýPOST¸øservlet
ÒªÇóÈçÏÂ;
1.Ñ¡ÔñÒ»¸öradio£¬µ÷ÓÃservlet servletÖиù¾Ý²ÎÊýµ÷ÓÃÆäËû½Ó¿Ú£¬³ý·ÇÑ¡ÖиÃradio²¢µã»÷JSPÖеÄʵР......
ÎÒÔÚ javaºËÐļ¼ÊõÉÏ ¿´ÁËÒ»¸ö ÀûÓà Java socket emailµÄÀý×Ó ¿ÉÊÇÔõôҲ ²»³É¹¦ Ϊʲô£¿
Ô´Âë
Java code:
package cn.com.test.email;
import java.awt.GridBagLayout;
import java.awt.event.Action ......
ÇëÎÒÓÃFCKÉÏ´«Îļþ,ÔÚ±¾µØµÄwindows»úÉϲâÊÔ¿ÉÒÔ£¬µ«²¿Êðµ½linux·þÎñÆ÷ÉϾÍÉÏ´«²»ÁËÎļþ£¬ÉÏ´«Îļþʱһֱ¿¨ÔÚÄÇÀï¡£Íû¸÷λ´óϺָµã£¬Ð»Ð»£¡
·¹ý£¬°ïÄ㶥һϡ£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
ÉÏ´«ÎļþµÄ·¾¶ÎÊÌ⣬ ......
ÒªÇó£º
1¡¢¾ßÓÐ2ÄêÒÔÉϵÄjava¿ª·¢¹¤×÷¾Ñ飬¾«Í¨java£»
2¡¢ÊìϤEclipse¿ª·¢¹¤¾ß£¬ÊìϤWEB¿ª·¢£¬¾ßÓÐÁ½ÄêÒÔÉÏJava¿ª·¢¾Ñ飬կÎÕÃæÏò¶ÔÏóµÄÈí¼þÉè¼Æ·½·¨£¬
ÓÐSpring¡¢HibernateÒÔ¼° ......
ÓÐËÓÃjava×ö¹ý´òÓ¡·¢Æ±µÄ³ÌÐò£¬¸Ð¾õÕâ·½Ãæ²»ÊǺܺÿØÖÆ£¬Ï£Íû¸øµã½¨Ò飬×îºÃÄܸø³ö´úÂë
¼òµ¥µã¾Íµ÷ÓÃwindow.print()
ÄãÒ²¿ÉÒÔ°ÑÏÂÃæ´úÂë·Åµ½ÄãJSPÖÐ:
<html>
<head>
<title> ......