ajaxÓëjsp »ñµÃ¿Õxml½â¾ö·½·¨
AjaxºÍjspµÄ¹ÖÏÖÏó
Èç¹ûÓÃAjaxÈ¥ÇëÇóÒ»¸öjspÒ³Ãæ£¬¸ÃjspÒ³Ãæ·µ»ØµÄÊÇxml£¨response.setContentType("text/xml; charset=GB2312");£©£¬²¢ÇÒ¸Ãjsp°üº¬ÏÂÃæÕâЩͷ@pageÖ¸ÁîµÄ»°£¬ÔòÔÚ¿Í»§¶Ëxml=XMLHttpRequest.responseXMLµÃµ½µÄÊÇÒ»¸ö²»°üº¬ÈÎÎñ¶«Î÷µÄxml¶ÔÏ󣬼´xml.childNodes.length½«»áÊÇ0.
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.suntek.notes.sql.DBGrid"%>
<%@ page import="java.util.Vector" %>
ÔÒòÊÇÒÔÉϵÄ@pageÖ¸Áî(ÆäʵÊÇÈκÎÒ»¸öÖ¸Áî)»á²úÉú¿ÕÐС£¼´ÔÚjspÀï±ßµÄout.print(xml)µ½¿Í»§¶ËµÄ֮ǰ£¬ÒѾÓпÕÐÐÊä³öÁË¡£½â¾ö°ì·¨¿ÉÒÔÊÇÈ¥µôÉÏÃæµÄÓï¾ä£¬»ò°Ñjsp¸ÄΪservlet
ͬʱ£¬jspÀï±ßµÄÈκοÕÐж¼ÓпÉÄܻᵼÖÂͬÑùµÄÎÊÌâ¡£
Ó¦¸ÃÓÃservlet½ÏºÃ¡£
Ïà¹ØÎĵµ£º
Ö÷Ìâ
±¾ OBE ½Ì³Ì°üÀ¨ÏÂÁÐÖ÷Ì⣺
¸ÅÊö
Çé¾°
Ñé֤ǰÌáÌõ¼þ
ÔÚ ODI ÖÐн¨ÏîÄ¿
Ϊ XML Îļþ²åÈëÐÂÄ£ÐÍ
ΪÊý¾Ý¿â±í CLIENT ²åÈëÄ£ÐÍ
ɾ³ý CITY_CLIENT µÄÔ¼Êø¸±±¾
ÔÚ CLIENT Êý¾Ý´æ´¢ÉÏÉèÖà ODI Ô¼Êø
µ¼Èë֪ʶģ¿é
´´½¨ÓÃÓÚ¼ÓÔØ XML ÎļþµÄнӿÚ
Ö´ÐгÌÐò°ü²¢²âÊÔ½á¹û
²é¿´½Ó¿ÚÖ´ÐеÄÔ¼Êø´íÎó
×ܽá
Ïà¹ØÐÅÏ¢
......
µ±ÎÒÃÇÓÃWINDOWSËÑË÷ij°üº¬Ä³ÎÄ×ÖµÄÎļþʱ£¬¿ÉÒÔÔÚ“°üº¬ÎÄ×Ö”´¦ÌîÉÏËÑË÷´Ê¡£µ«ÊÇһЩ²»³£¼ûµÄºó׺ÃûÎļþWINDOWS²»»áËÑË÷£¬È磺£¬.log¡¢.dll¡¢.js¡¢.asp¡¢.xml¡¢.xsl¡¢.hta¡¢.css¡¢.wsh¡¢.cpp¡¢.c »ò .hµÈ¼°ÎÞºó׺ÃûµÄÎļþ¡£¶ÔÓÚÎҵȳÌÐò°®ºÃÕßÀ´ËµÊµÔÚÌ«²»·½±ãÁË£¬ËäÈ»ÓГÎı¾Ìæ»»´óʦ”µÈÈí¼þÄÜ×öÕ ......
ƽʱ×öÓÎÏ·¿ª·¢µÄʱºò£¬ºÜ´ó³Ì¶ÈÉ϶¼»á²ÉÓÃxmlÀ´×öÅäÖÃÎļþ¡£ÓÐʱºòÐèҪдºÜ¶à£¬È»ºóÓÖÐèÒªÒÀ´ÎÈ¥½âÎö¡£Èç¹ûÓÐÒ»¸ö¹¤¾ßÀ´×Ô¶¯½âÎöÿһ¸öxml£¬²¢ÇÒÌáÈ¡³ö×Ô¼ºÐèÒªµÄÊý¾Ý£¬¶àºÃѽ¡£ËùÒÔ͵Á˸öÀÁ£¬Ð´ÁËÒ»¸ö½âÎöÒ»¶¨¸ñʽµÄxmlºÍ½âÎöÀ࣬°ÑÕâ¸ö¸ñʽ¶ª¸ø²ß»®×Ô¼ºÈ¥µ÷ÕûÊý¾ÝÀ²¡£Í¬Ê±×Ô¼ºÕâ±ßÖ»ÐèÒª½ÓÊÜÏֳɵÄÀà
×¢Ò⣬ÕâÀïµÄÖ¸µÄÀ ......