﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-java技术学习-文章分类-Web技术</title><link>http://www.blogjava.net/dennydeng/category/19176.html</link><description /><language>zh-cn</language><lastBuildDate>Sun, 25 Mar 2007 20:20:22 GMT</lastBuildDate><pubDate>Sun, 25 Mar 2007 20:20:22 GMT</pubDate><ttl>60</ttl><item><title>通过XMLHTTP向指定URL发送数据</title><link>http://www.blogjava.net/dennydeng/articles/93463.html</link><dc:creator>denny</dc:creator><author>denny</author><pubDate>Fri, 12 Jan 2007 07:51:00 GMT</pubDate><guid>http://www.blogjava.net/dennydeng/articles/93463.html</guid><wfw:comment>http://www.blogjava.net/dennydeng/comments/93463.html</wfw:comment><comments>http://www.blogjava.net/dennydeng/articles/93463.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/dennydeng/comments/commentRss/93463.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/dennydeng/services/trackbacks/93463.html</trackback:ping><description><![CDATA[
		<p> </p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #000000"> 1</span>
				<span style="COLOR: #0000ff">&lt;!</span>
				<span style="COLOR: #ff00ff">DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /> 2</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">html </span>
				<span style="COLOR: #ff0000">xmlns</span>
				<span style="COLOR: #0000ff">="http://www.w3.org/1999/xhtml"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /> 3 </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">head</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /> 4  </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">title</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000"> new document </span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">title</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /> 5  </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">meta </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="generator"</span>
				<span style="COLOR: #ff0000"> content</span>
				<span style="COLOR: #0000ff">="editplus"</span>
				<span style="COLOR: #ff0000"> </span>
				<span style="COLOR: #0000ff">/&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /> 6  </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">meta </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="author"</span>
				<span style="COLOR: #ff0000"> content</span>
				<span style="COLOR: #0000ff">=""</span>
				<span style="COLOR: #ff0000"> </span>
				<span style="COLOR: #0000ff">/&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /> 7  </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">meta </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="keywords"</span>
				<span style="COLOR: #ff0000"> content</span>
				<span style="COLOR: #0000ff">=""</span>
				<span style="COLOR: #ff0000"> </span>
				<span style="COLOR: #0000ff">/&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /> 8  </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">meta </span>
				<span style="COLOR: #ff0000">name</span>
				<span style="COLOR: #0000ff">="description"</span>
				<span style="COLOR: #ff0000"> content</span>
				<span style="COLOR: #0000ff">=""</span>
				<span style="COLOR: #ff0000"> </span>
				<span style="COLOR: #0000ff">/&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /> 9<br /><img id="Codehighlighter1_419_1490_Open_Image" onclick="this.style.display='none'; Codehighlighter1_419_1490_Open_Text.style.display='none'; Codehighlighter1_419_1490_Closed_Image.style.display='inline'; Codehighlighter1_419_1490_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_419_1490_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_419_1490_Closed_Text.style.display='none'; Codehighlighter1_419_1490_Open_Image.style.display='inline'; Codehighlighter1_419_1490_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align="top" />10</span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">script </span>
				<span style="COLOR: #ff0000">language</span>
				<span style="COLOR: #0000ff">="JavaScript"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span id="Codehighlighter1_419_1490_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
						<img src="http://www.blogjava.net/images/dot.gif" />
				</span>
				<span id="Codehighlighter1_419_1490_Open_Text">
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
								<br />
								<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />11</span>
						<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> xmlHttp </span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </span>
						<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">false</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;<br /><img id="Codehighlighter1_449_502_Open_Image" onclick="this.style.display='none'; Codehighlighter1_449_502_Open_Text.style.display='none'; Codehighlighter1_449_502_Closed_Image.style.display='inline'; Codehighlighter1_449_502_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_449_502_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_449_502_Closed_Text.style.display='none'; Codehighlighter1_449_502_Open_Image.style.display='inline'; Codehighlighter1_449_502_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />12</span>
						<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">try</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </span>
						<span id="Codehighlighter1_449_502_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
								<img src="http://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_449_502_Open_Text">
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />13xmlHttp </span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">new</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> ActiveXObject(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">Msxml2.XMLHTTP</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">);<br /><img id="Codehighlighter1_514_618_Open_Image" onclick="this.style.display='none'; Codehighlighter1_514_618_Open_Text.style.display='none'; Codehighlighter1_514_618_Closed_Image.style.display='inline'; Codehighlighter1_514_618_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_514_618_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_514_618_Closed_Text.style.display='none'; Codehighlighter1_514_618_Open_Image.style.display='inline'; Codehighlighter1_514_618_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /></span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">14</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">}</span>
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </span>
						<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">catch</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> (e) </span>
						<span id="Codehighlighter1_514_618_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
								<img src="http://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_514_618_Open_Text">
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<br /><img id="Codehighlighter1_522_578_Open_Image" onclick="this.style.display='none'; Codehighlighter1_522_578_Open_Text.style.display='none'; Codehighlighter1_522_578_Closed_Image.style.display='inline'; Codehighlighter1_522_578_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_522_578_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_522_578_Closed_Text.style.display='none'; Codehighlighter1_522_578_Open_Image.style.display='inline'; Codehighlighter1_522_578_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />15</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">try</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </span>
								<span id="Codehighlighter1_522_578_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
										<img src="http://www.blogjava.net/images/dot.gif" />
								</span>
								<span id="Codehighlighter1_522_578_Open_Text">
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />16xmlHttp </span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </span>
										<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">new</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> ActiveXObject(</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">Microsoft.XMLHTTP</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">);<br /><img id="Codehighlighter1_591_614_Open_Image" onclick="this.style.display='none'; Codehighlighter1_591_614_Open_Text.style.display='none'; Codehighlighter1_591_614_Closed_Image.style.display='inline'; Codehighlighter1_591_614_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_591_614_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_591_614_Closed_Text.style.display='none'; Codehighlighter1_591_614_Open_Image.style.display='inline'; Codehighlighter1_591_614_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /></span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">17</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">}</span>
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">catch</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> (e2) </span>
								<span id="Codehighlighter1_591_614_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
										<img src="http://www.blogjava.net/images/dot.gif" />
								</span>
								<span id="Codehighlighter1_591_614_Open_Text">
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />18xmlHttp </span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </span>
										<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">false</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;<br /><img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" /></span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">19</span>
										<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">}</span>
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">20</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">}</span>
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
								<br />
								<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">21</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
								<br />
								<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">22</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
								<br />
								<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">23</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">        </span>
						<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> sendXmlHttp()<br /><img id="Codehighlighter1_669_1480_Open_Image" onclick="this.style.display='none'; Codehighlighter1_669_1480_Open_Text.style.display='none'; Codehighlighter1_669_1480_Closed_Image.style.display='inline'; Codehighlighter1_669_1480_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_669_1480_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_669_1480_Closed_Text.style.display='none'; Codehighlighter1_669_1480_Open_Image.style.display='inline'; Codehighlighter1_669_1480_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /></span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">24</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">        </span>
						<span id="Codehighlighter1_669_1480_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
								<img src="http://www.blogjava.net/images/dot.gif" />
						</span>
						<span id="Codehighlighter1_669_1480_Open_Text">
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">{<br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" /></span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">25</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">26</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">27</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">            xml </span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;?xml version=\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">1.0</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> encoding=\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">UTF</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">-</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">8</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">?&gt;&lt;!DOCTYPE SigMailCommand SYSTEM \</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">SigMail.dtd\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;                            </span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">XML数据    </span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">28</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">            xml </span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;SigMailCommand Name=\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">checkuser\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;Param Name=\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">domainname\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;test.com.cn&lt;/Param&gt;</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;<br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" /></span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">29</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">30</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">            xml </span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;Param Name=\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">username\</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;admin&lt;/Param&gt;&lt;/SigMailCommand&gt;</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;<br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" /></span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">31</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">            <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" /></span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">32</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">            url </span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> http:</span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">www.xxx.com/cgi-bin/;                    //设置发送的Url</span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">33</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">            <br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" /></span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">34</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">            xmlHttp.open(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">post</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">,url,</span>
								<span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">false</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">);                    </span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">调用open方法</span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">35</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">36</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">            xmlHttp.setRequestHeader(</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">Content-Type</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">,</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">text/xml</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">);        </span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">设置发送请求的头</span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">37</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">38</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">            </span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">xmlHttp.setRequestHeader("charset","UTF-16");        //设置发送请求的头</span>
								<span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">39</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">40</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">            xmlHttp.send(xml);<br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" /></span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">41</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">42</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">            alert(xmlHttp.responseText)<br /><img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" /></span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">43</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
										<br />
										<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />
								</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">44</span>
								<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">       }</span>
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
								<br />
								<img src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align="top" />
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">45</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">
								<br />
								<img src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />
						</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">46</span>
						<span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">    </span>
				</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">script</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />47<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />48 </span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">head</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />49<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />50 </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">body</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />51  </span>
				<span style="COLOR: #0000ff">&lt;</span>
				<span style="COLOR: #800000">input </span>
				<span style="COLOR: #ff0000">type</span>
				<span style="COLOR: #0000ff">="button"</span>
				<span style="COLOR: #ff0000"> value</span>
				<span style="COLOR: #0000ff">="测试"</span>
				<span style="COLOR: #ff0000"> onclick</span>
				<span style="COLOR: #0000ff">="javascript:sendXmlHttp()"</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />52 </span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">body</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />53</span>
				<span style="COLOR: #0000ff">&lt;/</span>
				<span style="COLOR: #800000">html</span>
				<span style="COLOR: #0000ff">&gt;</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />54</span>
		</div>
<img src ="http://www.blogjava.net/dennydeng/aggbug/93463.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/dennydeng/" target="_blank">denny</a> 2007-01-12 15:51 <a href="http://www.blogjava.net/dennydeng/articles/93463.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>