¹ØÓÚ½âÎöXML - .NET¼¼Êõ / ASP.NET
<?xml version="1.0" encoding="UTF-8" ?>
- <root>
<status name="·µ»Ø×´Ì¬">200</status>
- <housePics>
<totalRows name="×ÜÊý">12</totalRows>
- <housePic>
<picUrl type="Ô¶¾°Í¼">http://img0.fangjia.com/res/upload/house_photo/1sum.jpg</picUrl>
<picUrl type="ÊÒÄÚͼ">http://img1.fangjia.com/res/upload/house_photo/2sum.jpg</picUrl>
<picUrl type="ÊÒÄÚͼ">http://img0.fangjia.com/res/upload/house_photo/3sum.jpg</picUrl>
<picUrl type="ÊÒÄÚͼ">http://img0.fangjia.com/res/upload/house_photo/4sum.jpg</picUrl>
<picUrl type="ÊÒÄÚͼ">http://img0.fangjia.com/res/upload/house_photo/5sum.jpg</picUrl>
<picUrl type="ÊÒÄÚͼ">http://img0.fangjia.com/res/upload/house_photo/6sum.jpg</picUrl>
<picUrl type="ÊÒÄÚͼ">http://img1.fangjia.com/res/upload/house_photo/7sum.jpg</picUrl>
<picUrl type="ÊÒÄÚͼ">http://img1.fangjia.com/res/upload/house_photo/8sum.jpg</picUrl>
</housePic>
</housePics>
</root>
ÎÒÔõô°ÑhousePicµÄ×Ö½ÚµãpicUrlÀïµÄͼƬµØÖ·µÄͼÒÀ´ÎÏÔʾÔÚÒ³ÃæÉϰ¡£¿ÖªµÀµ
Ïà¹ØÎÊ´ð£º
function CheckOpwd(){//ÑéÖ¤Óû§Ãû
var pwd=document.all.txtOpwd;
var div1=document.getElementById("divPwd");
if (pwd.value=="")
{
......
ÎÒÓÐÒ»¸öÀàËÆµÄxmlµÄ string£¬Ïëͨ¹ý±éÀúÔõô¸öxml Êä³öÎÒÏëÒªµÄelementµÄÖµ
xml Ϊ£º
<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
<RequestType>DISCOVER_XML_ME ......
1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ãæ£¬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£
js ......
¹¦ÄÜ˵Ã÷:Java servlet °ÑXMLÊý¾ÝѹËõºó·¢Ë͵½PBÓû§¶Ë,PBÊÕµ½Êý¾Ýºó½âѹ³öÀ´.
´«ÊäÒª¾¹ýBase64±àÂë.
ÎÊÌâÊÇ:ÄÜÊÕµ½Êý¾Ýµ«Êǽâѹ²»³öÀ´.ÏëÇë½Ì´ó¼Ò»òÕßÓÐʲôºÃµÄ°ì·¨?
PB¿ÉÒÔÓÃ"zlibwapi.DLL" ½âѹ
......
sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔØ¶Ô»°¿ò£¿
PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿
Response.Redirect("test.jpg")
ÒýÓÃ
Response.Redirect( ......