VBÓëJAVA½»»¥
Private Sub Command1_Click()
Dim dso As New XMLDSOControl
Dim doc As IXMLDOMDocument
Set doc = dso.XMLDocument
Dim rel As IXMLDOMNodeList
Set x = CreateObject("Microsoft.XMLHTTP")
x.Open "GET", "http://127.0.0.1:8080/emrb/Mrbmodel?action=dis&userid=11&authority=111
", False
x.send
doc.Load (x.responseXML)
Set Tablelist = doc.getElementsByTagName("record")
Tablelen = Tablelist.length
For i = 0 To (Tablelen - 1)
'Text1.Text = Tablelist.Item(i).selectSingleNode("Fremark").Text
Combo1.AddItem (Tablelist.Item(i).selectSingleNode("pn").Text)
Next
End Sub
Private Sub Command2_Click()
a = "<result><TD>A
AAAA%AAAA</TD><TD>AAAAAA
AAA</TD><TD>AAAAAAAAA</TD><TD>AAAAAAAAA</TD><TD>AAAAAAAAA</TD><TD>AAAAAAAAA</TD><TD>AAAAAAAAA</TD><TD>AAAAAAAAA</TD><result>"
Dim b As String
b = Now
Set x = CreateObject("Microsoft.XMLHTTP")
x.Open "GET", "http://127.0.0.1:8080/printsys/VfmacSelvet?mac
=" + a + "&time=" + b, False
' x.Open "GET", "http://127.0.0.1:8080/printsys/ExcelExport.jsp
, False"
x.send
Text1.Text = x.responseText
End Sub
Ïà¹ØÎĵµ£º
MyEclipseÉèÖÃJSPÒ³ÃæĬÈϱàÂ뷽ʽ£º
windows(´°¿Ú)-Preferences(Ê×Ñ¡Ïî)-MyEclipse-Files & Editors-JSP-ÓÒ²àencoding:ÉèÖÃΪISO10646/Unicode(UTF-8)
MyEclipseÔÚJavaÎļþÖÐÉèÖÃ×÷Õß¡¢ÈÕÆÚµÈ˵Ã÷£º
windows(´°¿Ú)-Preferences(Ê×Ñ¡Ïî)-Java-Code Style(´úÂëÑùʽ)-Code Templates(´úÂëÄ£°æ)-ÓÒ²àComments(×¢ÊÍ)- ......
JDK°æ±¾
JDK1.4.x
¹¦ÄÜ
ʵÏÖÁË´øÓи´Ñ¡¿òµÄ×ÊÔ´¹ÜÀíÆ÷Ê÷Ŀ¼£¬»¹ÓÐÐèÒª¸Ä½øµÄµØ·½£¬ÎÒÔÚÒÔºó¸üУ¬Èç¹ûÄÇλÅóÓÑÓкõĽ¨Ò黶ÓÌá³ö
»¶Ó´ó¼ÒÌáÒâ¼û£¬½»Á÷
......
½üÈÕÔÚ±à³ÌÖÐÓõ½½Ó¿Ú֪ʶ,ÓÉÓڿα¾ÖжԽӿÚÃèÊö½ÏÉÙ,ËùÒÔÏë´ÓÍøÉϲéÕÒ×ÊÁÏ,µ«ÍøÉϵÄ×ÊÁÏ´ó¶àÒ²Ö»ÊÇÈß³¤µÄÃèÊö,ËùÒÔÔÚ´ËÌṩһ×Ô¼ºÐ´µÄʵÀý,¹©´ó¼Ò²Î¿¼:
ÔÌâÊÇÕâÑùµÄ£ºÔÚjavaÖУ¬¶¨ÒåÒ»¸ö½Ó¿Ú£¬ÉùÃ÷¼ÆË㳤·½ÐÎÃæ»ýºÍÖܳ¤µÄ³éÏó·½·¨£¬ÔÙÓÃÒ»¸öÀàȥʵÏÖÕâ¸ö½Ó¿Ú£¬ÔÙ±àдһ¸ö²âÊÔÀàȥʹÓÃÕâ¸ö½Ó¿Ú¡£
Ê×ÏÈ£¬½Ó¿Ú±ØÐëµ¥ ......
1.JavaÔÚÐéÄâ»úÉÏÔËÐÐ
JavaÔ´´úÂë²¢²»ÊDZ»±àÒë³ÉΪÆÕͨµÄ»úÆ÷´úÂë¡£¶øÊDZ»·Òë³ÉΪÐéÄâ»ú¿ÉÒÔÖ´ÐеĴúÂë¡£Ò»¸öJava½âÊÍÆ÷×îÖÕÖ´ÐÐÕâЩ´úÂë¡£ÕâÆäÖÐûÓÐÁ¬½ÓµÄ¹ý³Ì£»½âÊÍÔÚÐèÒªµÄʱºò¶¯Ì¬µÄ¼ÓÔØһЩÀࣻ
2.JavaÊÇÍêÈ«ÃæÏò¶ÔÏóµÄ
JavaÊÇÒ»ÖÖÍêÈ«ÃæÏò¶ÔÏóµÄÓïÑÔ¡£ÕâÒâζ×ÅÄã¶ÔÈκÎÒ»¸öJava¶ÔÏóËù×öµÄ¶¯×÷¶¼ÊÇͨ¹ýÒ ......
½ñÌìÁìµ¼·Ô¸ÀÒ»¸öÈÎÎñ,¾ÍÊÇÓÃ.net¼¼ÊõÈ¥ÌøÓÃjava¶ËдµÄwebservers,¶øÇÒÒª²ÉÓÃhttps·ÃÎÊ·½Ê½,Ç¿ÖÆÂÛÖ¤
String SecurelyStoredPassword = "adminsd";
&nb ......