<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[[mysql+jsp]JSP数据库连接大全]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Sun, 19 Nov 2006 12:19:12 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	<p align="center"><%@ page contentType="text/html;charset=gb2312"%> <br/><br/><%@ page import="java.sql.*"%> <br/><br/><html> <br/><br/><body> <br/><br/><%Class.forName("org.gjt.mm.mysql.Driver").newInstance(); <br/><br/>String url ="jdbc:mysql://localhost/softforum?user=soft&password=soft1234&useUnicode=true&characterEncoding=8859_1"; <br/><br/>//testDB为你的数据库名 <br/><br/>Connection conn= DriverManager.getConnection(url); <br/><br/>Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE); <br/><br/>String sql="select * from test"; <br/><br/>ResultSet rs=stmt.executeQuery(sql); <br/><br/>while(rs.next()) &#123;%> <br/><br/>您的第一个字段内容为：<%=rs.getString(1)%> <br/><br/>您的第二个字段内容为：<%=rs.getString(2)%> <br/><br/><%&#125;%> <br/><br/><%out.print("数据库操作成功，恭喜你");%> <br/><br/><%rs.close(); <br/><br/>stmt.close(); <br/><br/>conn.close(); <br/><br/>%> <br/><br/></body> <br/><br/></html> </p>
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [mysql+jsp]JSP数据库连接大全]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>