<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>haohtml&#039;s blog &#187; Java</title>
	<atom:link href="http://blog.haohtml.com/tag/java/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.haohtml.com</link>
	<description>haohtml&#039;s life and works</description>
	<lastBuildDate>Sun, 05 Feb 2012 12:34:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Eclipse与MyEclipse的区别</title>
		<link>http://blog.haohtml.com/archives/9415</link>
		<comments>http://blog.haohtml.com/archives/9415#comments</comments>
		<pubDate>Wed, 27 Apr 2011 12:46:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[程序开发]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.haohtml.com/?p=9415</guid>
		<description><![CDATA[Eclipse 是一个IDE（Integrated Developing Environment），而这个IDE是允许安装第三方开发的插件来使自身的功能得到扩展和增强的，而Myeclipse就是其中的一种有名的插件集之一，主要是为J2EE开发；MyEclipse将开发者常用到的一些有用的插件都集合起来，提供一种高级编程环境，可以比较轻松完成struts，Hibernate,Spring布局，编写strtus-config.xml；但它是收费的，没Eclipse   MyEclipse是没用的。lomboz也是类似MyEclipse的插件，不过是免费的，当然功能没有MyEclipse好。 Eclipse是一个开放源代码,基于Java的可扩张的开发平台，多数人都是将Eclipse作为Java的集成开发环境使用，虽然Eclipse使用Java开发：但Eclipse不仅仅局限于Java开发，还可用于其它语言的开发，如C/C++;Eclipse是一个框架和一组服务，它通过各种插件来构建开发环境，因此只要提供支持C/C++ 插件便能进行相应语言的开发． Eclipse最早是由IBM开发的，后来ＩＢＭ将Eclipse作为一个开发源代码的项目，献给了开源组织Eclipse.org但仍由IBM的子公司ＯＴＩ（主要从事Eclipse开发的人员）继续Eclipse的开发. （1）MyEclipse 把所有的插件都配好了，直接可以用，比例写jsp,struts,spring之类的，当然包也相当大， 机子不好的话开发程序比较慢， Eclipse 什么都没有，要开发什么就自己配什么插件而已。 （2）严格的说，MyEclipse 只是 Eclipse 体系中的一种插件，只是由于 MyEclipse 经常和 Eclipse 一起安装使用，所以通常也将安装了MyEclipse 插件后的Eclipse叫做MyEclipse，二者可以单独安装，即先装Eclipse之后，再以插件方式安装MyEclipse。另一种方法则是在同时安装二者，即安装MyEclipse，时已经同时安装了Eclipse(他们已经整合在一起)。 MyEclipse为Eclipse提供了一个大量私有和开源的Java工具的集合，这解决了各种开源工具的不一致和缺点。NitroX是一个繁杂而强大的加速Java Web应用开发的工具，还包含了一个强大且能够编译所有JSP和Struts Web应用的工具AppXRay。这些工具解析Java和XML配置文件. MyEclipse的实际价值来自包含的发布包中的大量的工具。如CCS/JS/HTML/XML的编辑器，帮助创建EJB和Struts项目的向导并产生项目的所有主要的组件如action/session bean/form等。还包含编辑Hibernate配置文件和执行SQL语句的工具。 &#160; myeclipse是eclipse的一个插件，主要是用来做WEB方面的开发，里面有Struts Spring Hibernate等的集成，使用起来很方便，如果要用myeclipse6.5建议您下载最新版本的eclipse.甚至，您可以直接在myeclipse官方去下载捆绑了eclipse的myeclipse版本，就更方便了。 Eclipse： http://www.eclipse.org MyEclipse: http://www.myeclipseide.com 现在网上有好多6.0以上的Myeclipse与eclipse的合版的，两个在一起，大约250M左右，比较好使，公司开发一般用eclipse，因为Myeclipse是收费的，当然学习一般用Myeclipse破解版的，因为比较好使，像做SSH框架的时候，不用自己手动向里加类库，只要一点导入就自动给你导入进去，因为Myeclipse里面给你自带了这些类库。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Eclipse的PHP插件PHPEclipse" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/26/6681786.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse的PHP插件PHPEclipse</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java连接MySQL数据库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java连接MySQL数据库</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java连接mysql数据库实例(测试无误)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java连接mysql数据库实例(测试无误)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse Helios 3.6.2 官网下载地址" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse Helios 3.6.2 官网下载地址</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: small;">Eclipse 是一个IDE（Integrated Developing Environment），而这个IDE是允许安装第三方开发的插件来使自身的功能得到扩展和增强的，而Myeclipse就是其中的一种有名的插件集之一，主要是为J2EE开发；MyEclipse将开发者常用到的一些有用的插件都集合起来，提供一种高级编程环境，可以比较轻松完成struts，Hibernate,Spring布局，编写strtus-config.xml；但它是收费的，没Eclipse   MyEclipse是没用的。lomboz也是类似MyEclipse的插件，不过是免费的，当然功能没有MyEclipse好。</span></p>
<p><span style="font-size: small;"><br />
Eclipse是一个开放源代码,基于Java的可扩张的开发平台，多数人都是将Eclipse作为Java的集成开发环境使用，虽然Eclipse使用Java开发：但Eclipse不仅仅局限于Java开发，还可用于其它语言的开发，如C/C++;Eclipse是一个框架和一组服务，它通过各种插件来构建开发环境，因此只要提供支持C/C++ 插件便能进行相应语言的开发．<span id="more-9415"></span></span></p>
<p>Eclipse最早是由IBM开发的，后来ＩＢＭ将Eclipse作为一个开发源代码的项目，献给了开源组织Eclipse.org但仍由IBM的子公司ＯＴＩ（主要从事Eclipse开发的人员）继续Eclipse的开发.</p>
<p><span style="font-size: small;">（1）<span style="color: #ff0000;">MyEclipse</span> 把所有的插件都配好了，直接可以用，比例写jsp,struts,spring之类的，当然包也相当大， 机子不好的话开发程序比较慢，</span></p>
<p><span style="color: #ff0000;">Eclipse </span>什么都没有，要开发什么就自己配什么插件而已。</p>
<p>（2）严格的说，MyEclipse 只是 Eclipse 体系中的一种插件，只是由于 MyEclipse 经常和 Eclipse 一起安装使用，所以通常也将安装了MyEclipse 插件后的Eclipse叫做MyEclipse，二者可以单独安装，即先装Eclipse之后，再以插件方式安装MyEclipse。另一种方法则是在同时安装二者，即安装MyEclipse，时已经同时安装了Eclipse(他们已经整合在一起)。</p>
<p>MyEclipse为Eclipse提供了一个大量私有和开源的Java工具的集合，这解决了各种开源工具的不一致和缺点。NitroX是一个繁杂而强大的加速Java Web应用开发的工具，还包含了一个强大且能够编译所有JSP和Struts Web应用的工具AppXRay。这些工具解析Java和XML配置文件.</p>
<p>MyEclipse的实际价值来自包含的发布包中的大量的工具。如CCS/JS/HTML/XML的编辑器，帮助创建EJB和Struts项目的向导并产生项目的所有主要的组件如action/session bean/form等。还包含编辑Hibernate配置文件和执行SQL语句的工具。</p>
<p>&nbsp;</p>
<p>myeclipse是eclipse的一个插件，主要是用来做WEB方面的开发，里面有Struts Spring Hibernate等的集成，使用起来很方便，如果要用myeclipse6.5建议您下载最新版本的eclipse.甚至，您可以直接在myeclipse官方去下载捆绑了eclipse的myeclipse版本，就更方便了。<br />
Eclipse： <a href="http://www.eclipse.org/" target="_blank">http://www.eclipse.org</a><br />
MyEclipse: <a href="http://www.myeclipseide.com/" target="_blank">http://www.myeclipseide.com</a></p>
<p>现在网上有好多6.0以上的Myeclipse与eclipse的合版的，两个在一起，大约250M左右，比较好使，公司开发一般用eclipse，因为Myeclipse是收费的，当然学习一般用Myeclipse破解版的，因为比较好使，像做SSH框架的时候，不用自己手动向里加类库，只要一点导入就自动给你导入进去，因为Myeclipse里面给你自带了这些类库。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Eclipse的PHP插件PHPEclipse" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/26/6681786.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse的PHP插件PHPEclipse</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java连接MySQL数据库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java连接MySQL数据库</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java连接mysql数据库实例(测试无误)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java连接mysql数据库实例(测试无误)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse Helios 3.6.2 官网下载地址" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse Helios 3.6.2 官网下载地址</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/archives/9415/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse的PHP插件PHPEclipse</title>
		<link>http://blog.haohtml.com/archives/9401</link>
		<comments>http://blog.haohtml.com/archives/9401#comments</comments>
		<pubDate>Tue, 26 Apr 2011 13:29:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[程序开发]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.haohtml.com/?p=9401</guid>
		<description><![CDATA[PHPeclipse是什么？ PHPeclipse是Eclipse的一个插件，它为php开发人员提供了一个集成的开发环境。 PHPeclipse这个插件包括的功能有:PHP语法分析,调试,代码格式化,大纲视图,代码模板定制等。 PHPEclipse的官方网站是：http://www.phpeclipse.de/，http://www.phpeclipse.net/ 安装该插件需要什么软件？ 使用PHPeclipse之前你必须安装一下软件： 1、Eclipse3.X   Downland:http://www.eclipse.org/downloads/ 2、jdk5.0/更高版本 3、DBG PHP Debugger matching the PHP version you are using Downland:http://superb-west.dl.sourceforge.net/sourceforge/dbg2/dbg-2.15.5-win32.zip 4、Eclipse Web Tools Platform Project 1.0.x 具体步骤： 下面就介绍下在以上都安装好了，怎么在eclipse下加入PHPeclipse插件。 安装PHPeclipse有三种办法： 1、Update Site，你可以使用eclipse的update site得到. 2、直接从Sourceforge下载ZIP文件,或者直接从这里下载(http://cdnetworks-kr-2.dl.sourceforge.net/project/phpeclipse/a%29%20Eclipse%203.3.x/PHPEclipse-1.2.3/PHPEclipse-1.2.3.200910091456PRD-bin.zip) 下载完成解压缩后会有2个目录 features和plugins如图 将这二个目录全部复制并覆盖到Eclipse的目录下,即可安装成功. 现在我们打开Eclipse来看看效果,打开Eclipse后我们选:窗口-&#62;打开透视图-&#62;其他 打开透视图后我们可以看到PHP图标,我们选择他,再点确定,如图: 确定后我们可以在右上角大纲视图上看到有个php图标,选择他切换到php模式,我们就可以新建PHP Project用phpEclipse插件来编写php程序了 3、通过SVN获得，这里就不说了，比较麻烦。 &#160; 在这里只介绍第一种方法。 安装PHPeclipse最简单的方法就是在eclipse中加入PHPeclipse的update site，也就是第一种方法，： 如果你使用的是eclipse3.2，升级网址就是：http://update.phpeclipse.net/update/stable/1.1.x 如果是eclipse3.3/3.4,升级网址就是：http://update.phpeclipse.net/update/stable/1.2.x 具体操作：打开eclipse，在菜单工具栏选择:Help-&#62; Software Updates -&#62; Find and Install 接下来选择：Search [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Eclipse与MyEclipse的区别" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse与MyEclipse的区别</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse Helios 3.6.2 官网下载地址" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse Helios 3.6.2 官网下载地址</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="在安装php的make时候,出现错误&quot;chmod: cannot access `ext/phar/phar.phar': No such file or directory&quot;的解决办法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F12482&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">在安装php的make时候,出现错误&quot;chmod: cannot access `ext/phar/phar.phar': No such file or directory&quot;的解决办法</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java连接mysql数据库实例(测试无误)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java连接mysql数据库实例(测试无误)</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><strong>PHPeclipse是什么？</strong></p>
<p>PHPeclipse是Eclipse的一个插件，它为php开发人员提供了一个集成的开发环境。</p>
<p>PHPeclipse这个插件包括的功能有:PHP语法分析,调试,代码格式化,大纲视图,代码模板定制等。</p>
<p>PHPEclipse的官方网站是：<a href="http://www.phpeclipse.de/,http://www.phpeclipse.net/">http://www.phpeclipse.de/</a>，<a href="http://www.phpeclipse.de/,http://www.phpeclipse.net/">http://www.phpeclipse.net/</a></p>
<p><strong>安装该插件需要什么软件？</strong></p>
<p>使用PHPeclipse之前你必须安装一下软件：</p>
<p>1、Eclipse3.X   Downland:<a href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a></p>
<p>2、jdk5.0/更高版本</p>
<p>3、DBG PHP Debugger matching the PHP version you are using</p>
<p>Downland:<a href="http://superb-west.dl.sourceforge.net/sourceforge/dbg2/dbg-2.15.5-win32.zip">http://superb-west.dl.sourceforge.net/sourceforge/dbg2/dbg-2.15.5-win32.zip</a></p>
<p>4、Eclipse Web Tools Platform Project 1.0.x<span id="more-9401"></span></p>
<p><strong>具体步骤</strong>：</p>
<p>下面就介绍下在以上都安装好了，怎么在eclipse下加入PHPeclipse插件。</p>
<p>安装PHPeclipse有三种办法：</p>
<p><span style="color: #0000ff;">1、Update Site，你可以使用eclipse的update site得到.</span></p>
<p><span style="color: #0000ff;">2、直接从</span><a href="http://sourceforge.net/projects/phpeclipse"><span style="color: #0000ff;">Sourceforge</span></a><span style="color: #0000ff;">下载ZIP文件,或者直接从这里下载(<a href="http://cdnetworks-kr-2.dl.sourceforge.net/project/phpeclipse/a%29%20Eclipse%203.3.x/PHPEclipse-1.2.3/PHPEclipse-1.2.3.200910091456PRD-bin.zip" target="_blank">http://cdnetworks-kr-2.dl.sourceforge.net/project/phpeclipse/a%29%20Eclipse%203.3.x/PHPEclipse-1.2.3/PHPEclipse-1.2.3.200910091456PRD-bin.zip</a>)</span></p>
<p>下载完成解压缩后会有2个目录 features和plugins如图</p>
<p><img src="http://www.phperz.com/upimg/userup/0902/1H30352BK.jpg" alt="" width="408" height="204" /></p>
<p>将这二个目录全部复制并覆盖到Eclipse的目录下,即可安装成功.</p>
<p>现在我们打开Eclipse来看看效果,打开Eclipse后我们选:窗口-&gt;打开透视图-&gt;其他</p>
<p><img src="http://www.phperz.com/upimg/userup/0902/1H30R13G2.jpg" alt="" width="362" height="359" /></p>
<p>打开透视图后我们可以看到PHP图标,我们选择他,再点确定,如图:</p>
<p><img src="http://www.phperz.com/upimg/userup/0902/1H30953T54.jpg" alt="" width="354" height="417" /></p>
<p>确定后我们可以在右上角大纲视图上看到有个php图标,选择他切换到php模式,我们就可以新建PHP Project用phpEclipse插件来编写php程序了</p>
<p><img src="http://www.phperz.com/upimg/userup/0902/1H311054321.jpg" alt="" width="318" height="159" /></p>
<p><span style="color: #0000ff;">3、通过SVN获得，这里就不说了，比较麻烦。</span></p>
<p>&nbsp;</p>
<p><strong>在这里只介绍第一种方法。</strong></p>
<p>安装PHPeclipse最简单的方法就是在eclipse中加入PHPeclipse的update site，也就是第一种方法，：</p>
<p>如果你使用的是eclipse3.2，升级网址就是：<a href="http://update.phpeclipse.net/update/stable/1.1.x">http://update.phpeclipse.net/update/stable/1.1.x</a></p>
<p>如果是eclipse3.3/3.4,升级网址就是：<a href="http://update.phpeclipse.net/update/stable/1.2.x">http://update.phpeclipse.net/update/stable/1.2.x</a></p>
<p>具体操作：打开eclipse，在菜单工具栏选择:Help-&gt; Software Updates -&gt; Find and Install</p>
<p><img src="http://hiphotos.baidu.com/yy3b2007com/pic/item/42aff612e343b915f919b812.jpg" alt="图片" width="466" height="303" /></p>
<p>接下来选择：Search for new features to install，点击next，下来点击：new Remote Site</p>
<p>Name： PHPEclipse 1.2.x</p>
<p>URL：<a href="http://update.phpeclipse.net/update/stable/1.2.x">http://update.phpeclipse.net/update/stable/1.2.x</a></p>
<p><img src="http://hiphotos.baidu.com/yy3b2007com/pic/item/58c37f51aa418f5c377abe12.jpg" alt="图片2" width="364" height="184" /></p>
<p>点击ok。</p>
<p>然后在页面中选择PHPEclipse1.2.x,点击finish。</p>
<p>等安装完毕后，你就可以创建你的php工程了。</p>
<p><img src="http://hiphotos.baidu.com/yy3b2007com/pic/item/13c149186222d3f04bedbc12.jpg" alt="图片3" width="268" height="320" /></p>
<p><img src="http://hiphotos.baidu.com/yy3b2007com/pic/item/3ff2e734afc30a7f5ab5f512.jpg" alt="图片4" width="352" height="427" /></p>
<p><strong>下来将DBG php调试模块加入到eclipse当中：</strong></p>
<p><strong> 下载地址：</strong>http://superb-west.dl.sourceforge.net/sourceforge/dbg2/dbg-2.15.5-win32.zip</p>
<p>解压dbg-2.15.5-win32.zip到临时目录后，更名x86子目录下的php_dbg.dll-5.x.x为php_dbg.dll, 拷贝至php安装目录下的ext扩展所在目录，然后修改php.ini, 加入扩展项, 并且新增debug配置段:</p>
<p>[debugger]debugger.enabled = truedebugger.profiler_enabled = truedebugger.JIT_host = clienthostdebugger.JIT_port = 7869</p>
<p>&nbsp;</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Eclipse与MyEclipse的区别" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse与MyEclipse的区别</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse Helios 3.6.2 官网下载地址" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse Helios 3.6.2 官网下载地址</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="在安装php的make时候,出现错误&quot;chmod: cannot access `ext/phar/phar.phar': No such file or directory&quot;的解决办法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F12482&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">在安装php的make时候,出现错误&quot;chmod: cannot access `ext/phar/phar.phar': No such file or directory&quot;的解决办法</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java连接mysql数据库实例(测试无误)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java连接mysql数据库实例(测试无误)</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/archives/9401/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse Helios 3.6.2 官网下载地址</title>
		<link>http://blog.haohtml.com/archives/9397</link>
		<comments>http://blog.haohtml.com/archives/9397#comments</comments>
		<pubDate>Tue, 26 Apr 2011 13:14:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[程序开发]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.haohtml.com/?p=9397</guid>
		<description><![CDATA[从上至下依次为： Windows 32bit Windows 64bit Linux  32bit Linux  64bit Eclipse IDE for Java Developers http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-win32.zip http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-win32-x86_64.zip http://ftp.neu.edu.cn/mirrors/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-linux-gtk.tar.gz http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-linux-gtk-x86_64.tar.gz Eclipse IDE for Java EE Developers http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-win32.zip http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-win32-x86_64.zip http://mirror.neu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-linux-gtk.tar.gz http://mirror.neu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-linux-gtk-x86_64.tar.gz &#160; Eclipse Classic 3.6.2 http://mirror.bit.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-win32.zip http://mirror.bjtu.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-win32-x86_64.zip http://mirror.bjtu.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-linux-gtk.tar.gz http://mirror.bjtu.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-linux-gtk-x86_64.tar.gz Eclipse IDE for C/C++ Developers http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-win32.zip http://ftp.neu.edu.cn/mirrors/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-win32-x86_64.zip http://mirror.neu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-linux-gtk.tar.gz http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-linux-gtk-x86_64.tar.gz Eclipse IDE for Java and Report Developers http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-reporting-helios-SR2-win32.zip http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-reporting-helios-SR2-win32-x86_64.zip http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-reporting-helios-SR2-linux-gtk.tar.gz [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="java连接mysql数据库实例(测试无误)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java连接mysql数据库实例(测试无误)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse的PHP插件PHPEclipse" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/26/6681786.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse的PHP插件PHPEclipse</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse与MyEclipse的区别" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse与MyEclipse的区别</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java连接MySQL数据库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java连接MySQL数据库</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<div><span style="font-family: Arial, sans-serif;">从上至下依次为：</span></div>
<div><span style="color: #ff0000; font-family: Arial, sans-serif;">Windows 32bit</span></div>
<div><span style="color: #ff0000; font-family: Arial, sans-serif;">Windows 64bit</span></div>
<div><span style="color: #ff0000; font-family: Arial, sans-serif;">Linux  32bit</span></div>
<div><span style="color: #ff0000; font-family: Arial, sans-serif;">Linux  64bit</span></div>
<div><span style="font-family: Arial, sans-serif;"><br />
</span></div>
<h1>Eclipse IDE for Java Developers</h1>
<div><a href="http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-win32.zip" target="_blank">http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-win32.zip</a></div>
<p><a href="http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-win32-x86_64.zip" target="_blank">http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-win32-x86_64.zip</a></p>
<div>
<div><a href="http://ftp.neu.edu.cn/mirrors/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-linux-gtk.tar.gz" target="_blank">http://ftp.neu.edu.cn/mirrors/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-linux-gtk.tar.gz</a></div>
</div>
<div><a href="http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-linux-gtk-x86_64.tar.gz" target="_blank">http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-linux-gtk-x86_64.tar.gz</a><span id="more-9397"></span></div>
<div>
<h1>Eclipse IDE for Java EE Developers</h1>
<div><span style="font-family: Arial, sans-serif;"><a href="http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-win32.zip" target="_blank">http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-win32.zip</a></span></div>
</div>
<div><span style="font-family: Arial, sans-serif;"><br />
</span></div>
<div><span style="font-family: Arial, sans-serif;"><a href="http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-win32-x86_64.zip" target="_blank">http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-win32-x86_64.zip</a></span></div>
<div><span style="font-family: Arial, sans-serif;"><br />
</span></div>
<div><span style="font-family: Arial, sans-serif;"><a href="http://mirror.neu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-linux-gtk.tar.gz" target="_blank">http://mirror.neu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-linux-gtk.tar.gz</a></span></div>
<div><span style="font-family: Arial, sans-serif;"><br />
</span></div>
<div><span style="font-family: Arial, sans-serif;"><a href="http://mirror.neu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-linux-gtk-x86_64.tar.gz" target="_blank">http://mirror.neu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-linux-gtk-x86_64.tar.gz</a></span></div>
<div><span style="font-family: Arial, sans-serif;"><br />
</span></div>
<div><span style="font-family: Arial, sans-serif;">&nbsp;</p>
<h1>Eclipse Classic 3.6.2</h1>
<div><a href="http://mirror.bit.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-win32.zip" target="_blank">http://mirror.bit.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-win32.zip</a></div>
<div><a href="http://mirror.bjtu.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-win32-x86_64.zip" target="_blank">http://mirror.bjtu.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-win32-x86_64.zip</a></div>
<div><a href="http://mirror.bjtu.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-linux-gtk.tar.gz" target="_blank">http://mirror.bjtu.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-linux-gtk.tar.gz</a></div>
<div><a href="http://mirror.bjtu.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-linux-gtk-x86_64.tar.gz" target="_blank">http://mirror.bjtu.edu.cn/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-linux-gtk-x86_64.tar.gz</a></div>
<div>
<h1>Eclipse IDE for C/C++ Developers</h1>
<div><a href="http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-win32.zip" target="_blank">http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-win32.zip</a></div>
</div>
<div><a href="http://ftp.neu.edu.cn/mirrors/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-win32-x86_64.zip" target="_blank">http://ftp.neu.edu.cn/mirrors/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-win32-x86_64.zip</a></div>
<div><a href="http://mirror.neu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-linux-gtk.tar.gz" target="_blank">http://mirror.neu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-linux-gtk.tar.gz</a></div>
<div><a href="http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-linux-gtk-x86_64.tar.gz" target="_blank">http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-cpp-helios-SR2-linux-gtk-x86_64.tar.gz</a></div>
<div>
<h1>Eclipse IDE for Java and Report Developers</h1>
<div><a href="http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-reporting-helios-SR2-win32.zip" target="_blank">http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-reporting-helios-SR2-win32.zip</a></div>
<div><a href="http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-reporting-helios-SR2-win32-x86_64.zip" target="_blank">http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-reporting-helios-SR2-win32-x86_64.zip</a></div>
<div><a href="http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-reporting-helios-SR2-linux-gtk.tar.gz" target="_blank">http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-reporting-helios-SR2-linux-gtk.tar.gz</a></div>
<div><a href="http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-reporting-helios-SR2-linux-gtk-x86_64.tar.gz" target="_blank">http://download.actuatechina.com/eclipse/technology/epp/downloads/release/helios/SR2/eclipse-reporting-helios-SR2-linux-gtk-x86_64.tar.gz</a></div>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p></span></div>
<p>如果要使用eclipse来开发php的话,请参考:<a href="http://blog.haohtml.com/archives/9401" target="_blank">Eclipse的PHP插件PHPEclipse</a></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="java连接mysql数据库实例(测试无误)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java连接mysql数据库实例(测试无误)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse的PHP插件PHPEclipse" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/26/6681786.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse的PHP插件PHPEclipse</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse与MyEclipse的区别" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse与MyEclipse的区别</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java连接MySQL数据库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java连接MySQL数据库</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/archives/9397/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>java连接mysql数据库实例(测试无误)</title>
		<link>http://blog.haohtml.com/archives/2074</link>
		<comments>http://blog.haohtml.com/archives/2074#comments</comments>
		<pubDate>Wed, 29 Jul 2009 01:44:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[程序开发]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.haohtml.com/?p=2074</guid>
		<description><![CDATA[许多刚刚接触数据库的同学都经历过一段痛苦的生活吧！小则1下午，多则N天都看一个小程序发愁，怎么就是连不上了。

  首先下载安装配置MYSQL可以到百度上随便找一个下载地址http://www.onlinedown.net/soft/3573.htm

  然后在去下载MYSQL驱动包。解压后会有一个名字类似mysql-connector-java-5.1.5-bin.jar的文件(讯雷下载地址:http://119.147.41.16/down1?cid=95014987FD948875481E4E71B19CF675A975A1F7&#038;t=2&#038;fmt=&#038;usrinput=mysql5.1&#038;dt=2006000),这里用的是5.1.7版本的 

  将这个文件拷贝到%java_home%/lib文件夹下。

  右键我的电脑->属性->高级->环境变量。在classpath的后面加上;%java_home%/lib/mysql-connector-java-5.1.5-bin.jar;

  好了，现在我们已经基本做完了准备工作了。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Java连接MySQL数据库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java连接MySQL数据库</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java mysql数据库的连接" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java mysql数据库的连接</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse与MyEclipse的区别" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse与MyEclipse的区别</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JDBC连接MySQL数据库关键的四个步骤(初学必看)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JDBC连接MySQL数据库关键的四个步骤(初学必看)</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>许多刚刚接触数据库的同学都经历过一段痛苦的生活吧！小则1下午，多则N天都看一个小程序发愁，怎么就是连不上了。</p>
<p>  首先下载安装配置MYSQL可以到百度上随便找一个下载地址<a href="http://www.onlinedown.net/soft/3573.htm">http://www.onlinedown.net/soft/3573.htm</a></p>
<p>  然后在去下载MYSQL驱动包。解压后会有一个名字类似mysql-connector-java-5.1.5-bin.jar的文件(讯雷下载地址:<a href="http://119.147.41.16/down1?cid=95014987FD948875481E4E71B19CF675A975A1F7&amp;t=2&amp;fmt=&amp;usrinput=mysql5.1&amp;dt=2006000" target="_blank">http://119.147.41.16/down1?cid=95014987FD948875481E4E71B19CF675A975A1F7&amp;t=2&amp;fmt=&amp;usrinput=mysql5.1&amp;dt=2006000</a>),这里用的是5.1.7版本的</p>
<p>  将这个文件拷贝到%java_home%/lib文件夹下。</p>
<p>  右键我的电脑-&gt;属性-&gt;高级-&gt;环境变量。在classpath的后面加上;%java_home%/lib/mysql-connector-java-5.1.5-bin.jar;</p>
<p>  好了，现在我们已经基本做完了准备工作了。</p>
<p>  打开mysql数据库</p>
<p>  create database studentinfo ;建立一个名为studentinfo的数据库</p>
<p> </p>
<p> 下面是一段小测试程序</p>
<p> </p>
<p>import java.sql.*;<br />
            public class Test {<br />
            public static Connection getConnection() throws SQLException ,<br />
            java.lang.ClassNotFoundException{<br />
            String url = "jdbc:mysql://localhost:3306/studentinfo";<br />
            Class.forName("com.mysql.jdbc.Driver");<br />
            String userName = "root";<br />
            String password = "123";<br />
            Connection con = DriverManager.getConnection(url,userName,password);<br />
            return con;<br />
            }<br />
            public static void main(String[] args) {<br />
            try{<br />
            Connection con = getConnection();<br />
            Statement sql = con.createStatement();<br />
            sql.execute("drop table if exists student");<br />
            sql.execute("create table student(id int not null auto_increment,name varchar(20) not null default 'name',math int not null default 60,primary key(id));");<br />
            sql.execute("insert student values(1,'AAA','99')");<br />
            sql.execute("insert student values(2,'BBB','77')");<br />
            sql.execute("insert student values(3,'CCC','65')");<br />
            String query = "select * from student";<br />
            ResultSet result = sql.executeQuery(query);<br />
            System.out.println("Student表数据如下：");<br />
            System.out.println("---------------------------------");<br />
            System.out.println("学号"+" "+"姓名"+" "+"数学成绩");<br />
            System.out.println("---------------------------------");<br />
            int number;<br />
            String name;<br />
            String math;<br />
            while(result.next()){<br />
            number = result.getInt("id");<br />
            name = result.getString("name");<br />
            math = result.getString("math");<br />
            System.out.println(number + " " + name + " " + math);<br />
            }<br />
            sql.close();<br />
            con.close();<br />
            }catch(java.lang.ClassNotFoundException e){<br />
            System.err.println("ClassNotFoundException:" + e.getMessage());<br />
            }catch(SQLException ex){<br />
            System.err.println("SQLException:" + ex.getMessage());<br />
            }<br />
            }<br />
            }</p>
<p> </p>
<p> 进到dos下状态,执行javac Test.java和java Test即可．</p>
<p>这时候观察一下控制台时候出现了</p>
<p><span style="color: #0000ff;">Student表数据如下：<br />
---------------------------------<br />
学号 姓名 数学成绩<br />
---------------------------------<br />
1 AAA 99<br />
2 BBB 77<br />
3 CCC 65</span></p>
<p> </p>
<p><span style="color: #0000ff;"><span style="color: #000000;">OK搞定</span></span></p>
<p> <span style="color: #0000ff;"><span style="color: #000000;">但是别开心的太早了，其中还有很多小细节，比如说会出现找不到com.mysql.jdbc.Driver...</span></span></p>
<p><span style="color: #0000ff;"><span style="color: #000000;">下面就说一个经常能碰到的问题和解决办法</span></span></p>
<p><span style="color: #0000ff;">java.lang.ClassNotFoundException: com.mysql.jdbc.Driver<br />
</span><span style="color: #0000ff;"><span style="color: #000000;">如果出现上面的那个异常，则标明没有找到com.mysql.jdbc.Driver这个文件。这个时候你可以把mysql-connector- java-5.1.5-bin.jar这个文件加入到我们的工程里，在我们的工程右键-&gt;首选项-&gt;Java BuildPath-&gt;Libraries-&gt;addExternal Jars把mysql-connector-java-5.1.5-bin.jar加进去。应该就是OK了。如果还是出那个错，SORRY，我也没办法了。</span></span></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Java连接MySQL数据库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java连接MySQL数据库</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java mysql数据库的连接" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java mysql数据库的连接</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse与MyEclipse的区别" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse与MyEclipse的区别</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JDBC连接MySQL数据库关键的四个步骤(初学必看)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JDBC连接MySQL数据库关键的四个步骤(初学必看)</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/archives/2074/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JDBC连接MySQL数据库关键的四个步骤(初学必看)</title>
		<link>http://blog.haohtml.com/archives/2070</link>
		<comments>http://blog.haohtml.com/archives/2070#comments</comments>
		<pubDate>Wed, 29 Jul 2009 01:24:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[程序开发]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.haohtml.com/?p=2070</guid>
		<description><![CDATA[1、查找驱动程序

 
　　MySQL目前提供的Java驱动程序为Connection/J，可以从MySQL官方网站下载，并找到mysql-connector-java-3.0.15-ga-bin.jar文件，此驱动程序为纯Java驱动程序，JDBC链接MySQL不需做其他配置。

　　2、动态指定classpath

　　如果需要执行时动态指定classpath，就在执行时采用-cp方式。否则将上面的.jar文件加入到classpath环境变量中。

　　3、加载JDBC 连接MySQL<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Java连接MySQL数据库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java连接MySQL数据库</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java mysql数据库的连接" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java mysql数据库的连接</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java连接mysql数据库实例(测试无误)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java连接mysql数据库实例(测试无误)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse Helios 3.6.2 官网下载地址" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse Helios 3.6.2 官网下载地址</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>1、查找驱动程序<img id="f1" class="editerToolsIMG" style="background-position: -839px -20px; margin: 1px; width: 20px; cursor: pointer;" title="点击图片可在新窗口打开" src="http://www.cn-java.com/www1/images/edit/blank.gif" alt="" width="1" height="1" /></p>
<p>　　MySQL目前提供的Java驱动程序为<span style="color: #000000;">Connection</span>/J，可以从MySQL官方网站下载，并找到mysql-connector-java-3.0.15-ga-bin.jar文件，此驱动程序为纯Java驱动程序，JDBC链接MySQL不需做其他配置。</p>
<p><span style="color: #bc0e07;"><strong>　　</strong></span><span style="color: #000000;">2、动态指定classpath</span></p>
<p>　　如果需要执行时动态指定classpath，就在执行时采用-cp方式。否则将上面的.jar文件加入到classpath<span style="color: #000000;">环境变量</span>中。</p>
<p><span style="color: #bc0e07;"><strong>　　</strong></span><span style="color: #000000;">3、加载JDBC 连接MySQL</span></p>
<p><strong><span style="color: #bc0e07;">  </span></strong></p>
<table style="table-layout: fixed; border: #cccccc 1px dotted;" border="0" cellspacing="0" cellpadding="6" width="95%" align="center">
<tbody>
<tr>
<td bgcolor="#f3f3f3">
<ol class="dp-j">
<li class="alt"><span><span class="keyword">try</span><span>{  </span></span></li>
<li><span>　Class.forName(com.mysql.jdbc.Driver);  </span></li>
<li class="alt"><span>　System.out.println(Success loading Mysql Driver!);  </span></li>
<li><span>}</span><span class="keyword">catch</span><span>(Exception e)  </span></li>
<li class="alt"><span>{  </span></li>
<li><span>　System.out.println(Error loading Mysql Driver!);  </span></li>
<li class="alt"><span>　e.printStackTrace();  </span></li>
<li><span>} </span></li>
</ol>
</td>
</tr>
</tbody>
</table>
<p><strong></strong></p>
<p><span style="color: #bc0e07;"><strong>　</strong>　</span><span style="color: #000000;">4、设置JDBC连接MySQL的URL</span></p>
<p> </p>
<table style="table-layout: fixed; border: #cccccc 1px dotted;" border="0" cellspacing="0" cellpadding="6" width="95%" align="center">
<tbody>
<tr>
<td bgcolor="#f3f3f3"><span><span>jdbc：mysql：</span><span class="comment">//localhost/databasename[?pa=va][＆pa=va]</span><span> </span></span></td>
</tr>
</tbody>
</table>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Java连接MySQL数据库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java连接MySQL数据库</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java mysql数据库的连接" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java mysql数据库的连接</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java连接mysql数据库实例(测试无误)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java连接mysql数据库实例(测试无误)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse Helios 3.6.2 官网下载地址" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9397&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse Helios 3.6.2 官网下载地址</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/archives/2070/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>java mysql数据库的连接</title>
		<link>http://blog.haohtml.com/archives/2065</link>
		<comments>http://blog.haohtml.com/archives/2065#comments</comments>
		<pubDate>Wed, 29 Jul 2009 01:16:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[程序开发]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.haohtml.com/?p=2065</guid>
		<description><![CDATA[<%   
   String url="jdbc:mysql://localhost:3306/shujukuming";
      
  try{
    Class.forName("com.mysql.jdbc.Driver");
    Connection dcon=DriverManager.getConnection(url,"root","shujukumima");
    String sql="select * from message;";
 Statement stmt=dcon.createStatement();
 ResultSet rs=stmt.executeQuery(sql);
 
 if(rs.next())
 {
 
 int id=rs.getInt("id");
 String name=rs.getString("name");
 String title=rs.getString("title");
 String content=rs.getString("content");
 java.sql.Date messageDate=rs.getDate("messageDate");
%><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Java连接MySQL数据库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java连接MySQL数据库</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java连接mysql数据库实例(测试无误)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java连接mysql数据库实例(测试无误)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JDBC连接MySQL数据库关键的四个步骤(初学必看)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JDBC连接MySQL数据库关键的四个步骤(初学必看)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse的PHP插件PHPEclipse" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/26/6681786.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse的PHP插件PHPEclipse</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<pre>例子:
&lt;%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*,java.io.*" errorPage="" %&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"&gt;
&lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>"&gt;

&lt;meta http-equiv="Content-Type" content="text/html; charset=gb2312" /&gt;
&lt;title&gt;display message&lt;/title&gt;

&lt;%
   String url="jdbc:mysql://localhost:3306/shujukuming";

  try{
    Class.forName("com.mysql.jdbc.Driver");
    Connection dcon=DriverManager.getConnection(url,"root","shujukumima");
    String sql="select * from message;";
 Statement stmt=dcon.createStatement();
 ResultSet rs=stmt.executeQuery(sql);

 if(rs.next())
 {

 int id=rs.getInt("id");
 String name=rs.getString("name");
 String title=rs.getString("title");
 String content=rs.getString("content");
 java.sql.Date messageDate=rs.getDate("messageDate");
%&gt;
  &lt;table width="249" border="1" align="center"&gt;
  &lt;tr&gt;
    &lt;td width="111"&gt;name:&lt;%=name%&gt;&lt;/td&gt;
    &lt;td width="122"&gt;time:&lt;%=messageDate%&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;title:&lt;%=title%&gt;&lt;/td&gt;
    &lt;td&gt;id:&lt;%=id%&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td height="82" colspan="2"&gt; &lt;%=content%&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
 &lt;% }} catch(Exception e){
         out.print("wrong here");
}%&gt;</pre>
<pre>摘自:<a href="http://zhidao.baidu.com/question/25015915.html" target="_blank">http://zhidao.baidu.com/question/25015915.html</a></pre>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Java连接MySQL数据库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java连接MySQL数据库</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java连接mysql数据库实例(测试无误)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java连接mysql数据库实例(测试无误)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JDBC连接MySQL数据库关键的四个步骤(初学必看)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JDBC连接MySQL数据库关键的四个步骤(初学必看)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse的PHP插件PHPEclipse" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9401&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/04/26/6681786.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse的PHP插件PHPEclipse</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/archives/2065/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java连接MySQL数据库</title>
		<link>http://blog.haohtml.com/archives/2063</link>
		<comments>http://blog.haohtml.com/archives/2063#comments</comments>
		<pubDate>Wed, 29 Jul 2009 01:14:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[程序开发]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.haohtml.com/?p=2063</guid>
		<description><![CDATA[感谢beansoft提供的《MyEclipse 6 Java 开发中文教程》，使我受益匪浅。
1、首先，当然要准备JDBC驱动啦
可以到mysql官方网站下载mysql-connector-java-5.1.6-bin.jar<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="java mysql数据库的连接" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java mysql数据库的连接</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java连接mysql数据库实例(测试无误)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java连接mysql数据库实例(测试无误)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JDBC连接MySQL数据库关键的四个步骤(初学必看)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JDBC连接MySQL数据库关键的四个步骤(初学必看)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse与MyEclipse的区别" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse与MyEclipse的区别</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>感谢beansoft提供的《MyEclipse 6 Java 开发中文教程》，使我受益匪浅。<br />
1、首先，当然要准备JDBC驱动啦<br />
可以到mysql官方网站下载mysql-connector-java-5.1.6-bin.jar</p>
<p>2、</p>
<div style="padding-right: 5px; padding-left: 4px; font-size: 13px; padding-bottom: 4px; width: 98%; padding-top: 4px; background-color: #eeeeee; border: #cccccc 1px solid;"><!--</p>
<p>Code highlighting produced by Actipro CodeHighlighter (freeware)</p>
<p>http://www.CodeHighlighter.com/</p>
<p>--><span style="color: #0000ff;">CREATE</span><span style="color: #000000;"> </span><span style="color: #0000ff;">TABLE</span><span style="color: #000000;"> `student` (<br />
  `id` </span><span style="font-weight: bold; color: #000000;">int</span><span style="color: #000000;">(</span><span style="font-weight: bold; color: #800000;">11</span><span style="color: #000000;">) </span><span style="color: #808080;">NOT</span><span style="color: #000000;"> </span><span style="color: #0000ff;">NULL</span><span style="color: #000000;"> AUTO_INCREMENT,<br />
  `username` </span><span style="font-weight: bold; color: #000000;">varchar</span><span style="color: #000000;">(</span><span style="font-weight: bold; color: #800000;">200</span><span style="color: #000000;">) </span><span style="color: #808080;">NOT</span><span style="color: #000000;"> </span><span style="color: #0000ff;">NULL</span><span style="color: #000000;">,<br />
  `password` </span><span style="font-weight: bold; color: #000000;">varchar</span><span style="color: #000000;">(</span><span style="font-weight: bold; color: #800000;">20</span><span style="color: #000000;">) </span><span style="color: #808080;">NOT</span><span style="color: #000000;"> </span><span style="color: #0000ff;">NULL</span><span style="color: #000000;">,<br />
  `age` </span><span style="font-weight: bold; color: #000000;">int</span><span style="color: #000000;">(</span><span style="font-weight: bold; color: #800000;">11</span><span style="color: #000000;">) </span><span style="color: #0000ff;">DEFAULT</span><span style="color: #000000;"> </span><span style="color: #0000ff;">NULL</span><span style="color: #000000;">,<br />
  </span><span style="color: #0000ff;">PRIMARY</span><span style="color: #000000;"> </span><span style="color: #0000ff;">KEY</span><span style="color: #000000;"> (`id`)<br />
) ENGINE</span><span style="color: #808080;">=</span><span style="color: #000000;">MyISAM AUTO_INCREMENT</span><span style="color: #808080;">=</span><span style="font-weight: bold; color: #800000;">9</span><span style="color: #000000;"> </span><span style="color: #0000ff;">DEFAULT</span><span style="color: #000000;"> CHARSET</span><span style="color: #808080;">=</span><span style="color: #000000;">gbk;<br />
</span></div>
<p> </p>
<div style="padding-right: 5px; padding-left: 4px; font-size: 13px; padding-bottom: 4px; width: 98%; padding-top: 4px; background-color: #eeeeee; border: #cccccc 1px solid;"><!--</p>
<p>Code highlighting produced by Actipro CodeHighlighter (freeware)</p>
<p>http://www.CodeHighlighter.com/</p>
<p>--><span style="color: #008000;">/**</span><span style="color: #008000;"><br />
 * @(#)JDBCTest.java<br />
 *<br />
 *<br />
 * </span><span style="color: #808080;">@author</span><span style="color: #008000;"> keer2345<br />
 * </span><span style="color: #808080;">@version</span><span style="color: #008000;"> 1.00 2008/8/11<br />
 </span><span style="color: #008000;">*/</span><span style="color: #000000;"></p>
<p></span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.sql.</span><span style="color: #000000;">*</span><span style="color: #000000;">;</p>
<p></span><span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">class</span><span style="color: #000000;"> JDBCTest {</p>
<p>    </span><span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">static</span><span style="color: #000000;"> </span><span style="color: #0000ff;">void</span><span style="color: #000000;"> main(String[] args) {<br />
        </span><span style="color: #008000;">//</span><span style="color: #008000;"> 1. 注册驱动</span><span style="color: #008000;"><br />
</span><span style="color: #000000;">        </span><span style="color: #0000ff;">try</span><span style="color: #000000;"> {<br />
            Class.forName(</span><span style="color: #000000;">"</span><span style="color: #000000;">com.mysql.jdbc.Driver</span><span style="color: #000000;">"</span><span style="color: #000000;">);<br />
        } </span><span style="color: #0000ff;">catch</span><span style="color: #000000;">(ClassNotFoundException ex) {<br />
            ex.printStackTrace();<br />
        }<br />
        <br />
        </span><span style="color: #008000;">//</span><span style="color: #008000;"> 声明变量，使用，而后关闭</span><span style="color: #008000;"><br />
</span><span style="color: #000000;">        Connection conn </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">null</span><span style="color: #000000;">;        </span><span style="color: #008000;">//</span><span style="color: #008000;">数据库连接</span><span style="color: #008000;"><br />
</span><span style="color: #000000;">        Statement stmt </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">null</span><span style="color: #000000;">;         </span><span style="color: #008000;">//</span><span style="color: #008000;">数据库表达式</span><span style="color: #008000;"><br />
</span><span style="color: #000000;">        ResultSet rs </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">null</span><span style="color: #000000;">;             </span><span style="color: #008000;">//</span><span style="color: #008000;">结果集</span><span style="color: #008000;"><br />
</span><span style="color: #000000;">        <br />
        </span><span style="color: #0000ff;">try</span><span style="color: #000000;"> {<br />
            </span><span style="color: #008000;">//</span><span style="color: #008000;">2. 获取数据库的连接</span><span style="color: #008000;"><br />
</span><span style="color: #000000;">            conn </span><span style="color: #000000;">=</span><span style="color: #000000;"> DriverManager.getConnection<br />
                (</span><span style="color: #000000;">"</span><span style="color: #000000;">jdbc:mysql://localhost:3306/test?useUnicode=true&amp;characterEncoding=GBK</span><span style="color: #000000;">"</span><span style="color: #000000;">,</span><span style="color: #000000;">"</span><span style="color: #000000;">root</span><span style="color: #000000;">"</span><span style="color: #000000;">,</span><span style="color: #000000;">""</span><span style="color: #000000;">);<br />
            <br />
            </span><span style="color: #008000;">//</span><span style="color: #008000;">3. 获取表达式</span><span style="color: #008000;"><br />
</span><span style="color: #000000;">            stmt </span><span style="color: #000000;">=</span><span style="color: #000000;"> conn.createStatement();<br />
            <br />
                </span><span style="color: #008000;">//</span><span style="color: #008000;"> 插入数据</span><span style="color: #008000;"><br />
</span><span style="color: #000000;">            stmt.executeUpdate(</span><span style="color: #000000;">"</span><span style="color: #000000;">insert into Student (username, password, age) values ('张三','1234',20)</span><span style="color: #000000;">"</span><span style="color: #000000;">);<br />
            <br />
            </span><span style="color: #008000;">//</span><span style="color: #008000;">4. 执行SQL</span><span style="color: #008000;"><br />
</span><span style="color: #000000;">            rs </span><span style="color: #000000;">=</span><span style="color: #000000;"> stmt.executeQuery(</span><span style="color: #000000;">"</span><span style="color: #000000;">select * from Student</span><span style="color: #000000;">"</span><span style="color: #000000;">);<br />
            <br />
            </span><span style="color: #008000;">//</span><span style="color: #008000;">5. 现实结果集里面的数据</span><span style="color: #008000;"><br />
</span><span style="color: #000000;">            </span><span style="color: #0000ff;">while</span><span style="color: #000000;">(rs.next()) {<br />
                System.out.println(</span><span style="color: #000000;">"</span><span style="color: #000000;">编号=</span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"> rs.getInt(</span><span style="color: #000000;">1</span><span style="color: #000000;">));<br />
                System.out.println(</span><span style="color: #000000;">"</span><span style="color: #000000;">姓名=</span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"> rs.getString(</span><span style="color: #000000;">"</span><span style="color: #000000;">username</span><span style="color: #000000;">"</span><span style="color: #000000;">));<br />
                System.out.println(</span><span style="color: #000000;">"</span><span style="color: #000000;">密码=</span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"> rs.getString(</span><span style="color: #000000;">"</span><span style="color: #000000;">password</span><span style="color: #000000;">"</span><span style="color: #000000;">));<br />
                System.out.println(</span><span style="color: #000000;">"</span><span style="color: #000000;">年龄=</span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"> rs.getString(</span><span style="color: #000000;">"</span><span style="color: #000000;">age</span><span style="color: #000000;">"</span><span style="color: #000000;">));<br />
                System.out.println(</span><span style="color: #000000;">"</span><span style="color: #000000;">---------------</span><span style="color: #000000;">"</span><span style="color: #000000;">);<br />
            }<br />
        }<br />
        </span><span style="color: #0000ff;">catch</span><span style="color: #000000;"> (Exception ex) {<br />
            ex.printStackTrace();<br />
        }<br />
        </span><span style="color: #0000ff;">finally</span><span style="color: #000000;"> {<br />
            </span><span style="color: #0000ff;">try</span><span style="color: #000000;"> {<br />
                </span><span style="color: #0000ff;">if</span><span style="color: #000000;">(rs</span><span style="color: #000000;"> != </span><span style="color: #0000ff;">null</span><span style="color: #000000;">) {<br />
                    rs.close();<br />
                }<br />
                </span><span style="color: #0000ff;">if</span><span style="color: #000000;">(sm</span><span style="color: #000000;"> != </span><span style="color: #0000ff;">null</span><span style="color: #000000;">) {<br />
                    sm.close();<br />
                }<br />
                </span><span style="color: #0000ff;">if</span><span style="color: #000000;">(conn</span><span style="color: #000000;"> != </span><span style="color: #0000ff;">null</span><span style="color: #000000;">) {<br />
                    conn.close();<br />
                }<br />
            } </span><span style="color: #0000ff;">catch</span><span style="color: #000000;">(Exception ex) {<br />
                ex.printStackTrace();<br />
            }<br />
        }<br />
    }<br />
}</span></div>
<p>摘自:<a href="http://www.blogjava.net/keer2345/archive/2009/04/10/221380.html" target="_blank">http://www.blogjava.net/keer2345/archive/2009/04/10/221380.html</a></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="java mysql数据库的连接" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2065&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java mysql数据库的连接</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="java连接mysql数据库实例(测试无误)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2074&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">java连接mysql数据库实例(测试无误)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JDBC连接MySQL数据库关键的四个步骤(初学必看)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2070&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JDBC连接MySQL数据库关键的四个步骤(初学必看)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Eclipse与MyEclipse的区别" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F9415&from=http%3A%2F%2Fblog.haohtml.com%2Farchives%2F2063">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Eclipse与MyEclipse的区别</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.haohtml.com/archives/2063/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

