XMLµÚÒ»¿Î
HTML.htmlÎļþ
<div align="center" class="style1">
<p>±ù¹÷Áбí</p>
<p></p>
<table width="400" border="1">
<tr>
<th scope="col"><font size="4">Æ·ÅÆ</font></th>
<th scope="col"><font size="4">ζµÀ</font></th>
<th scope="col"><font size="4">¼Û¸ñ</font></th>
<th scope="col"><font size="4">Éú²ú³§ÉÌ</font></th>
</tr>
<tr>
<td><font size="3">´óºì¹û</font></td>
<td><font size="3">ÖÐ</font></td>
<td><font size="3">1.0</font></td>
<td><font size="3">IBM</font></td>
</tr>
<tr>
<td><font size="3">Ë«°ô</font></td>
<td><font size="3">²î</font></td>
<td><font size="3">0.6</font></td>
<td><font size="3">±±±ùÑó¹ú¼ÊÀäÒûÑо¿ÖÐÐÄ</font></td>
</tr>
<tr>
<td><font size="3">ÃÎÁú</font></td>
<td><font size="3">ºÃ</font></td>
<td><font size="3">3.0</font></td>
<td><font size="3">Microsoft</font></td>
</tr>
</table>
</div>
HTML2
Ïà¹ØÎĵµ£º
½ñÌìÔÚÔËÓÃspringµÄPropertyPlaceholderConfigurerʱ·¢ÏÖÒ»¸öÓÐÒâ˼µÄÄÚÈÝ£¬µ±ÄãÔÚapplicationContextÖÐÅäÖÃÒ»¸öPropertyPlaceholderConfigurerµÄbeanʱ£¬ÓÐlocationºÍlocationsµÄÊôÐÔ£¬²»Ã÷˼Òâlocation¶ÔÓ¦Ò»¸ö.propertiesÎļþ£¬
locations¶ÔÓ¦¶à¸ö.propertiesÎļþ£¬³å×ÅÏë¿´Ò»ÏÂPropertyPlaceholderConfigurerµÄʵÏÖ»úÖ ......
ÒÑÖªÓÐÒ»¸öXMLÎļþ£¨bookstore.xml£©ÈçÏ£º
<?xml version="1.0" encoding="gb2312"?>
<bookstore>
<book genre="fantasy" ISBN="2-3631-4">
<title>Oberon's Legacy</title>
<author>Corets, Eva</author>
<price>5.95</price>
</book>
</booksto ......
×î½üÔÚÏîÄ¿ÖÐÓöµ½flex¿çÓò·ÃÎʵݲȫɳÏäÎÊÌ⣬²é×ÊÁÏÁ˽⵽ÐèÒªÔÚ·þÎñ¶Ë¼ÓÉÏcrossdomain.xmlÎļþ£¬¼´£º
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-do ......
½ñÌìµÄÏîĿģ¿éÖÐÓõ½¸ù¾ÝÊý¾Ý¿âÀïµÄ×ÊÁÏÉú³ÉxmlÎļþ£¬Ö÷Òª²½ÖèÈçÏ£º
£¨1£© Á¬½ÓÊý¾Ý¿â£¬È¡³öÊý¾Ý£»
£¨2£© ´´½¨½áµã£¬Ìí¼Ó×ÓÏ
£¨3£© дÈëÎļþ“test.xml”ÖУ»
¾ßÌå´úÂëÈçÏ£º
import java.io.FileOutputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Result ......