﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-javajohn-随笔分类-其他类</title><link>http://www.blogjava.net/javajohn/category/11461.html</link><description>金色年华
</description><language>zh-cn</language><lastBuildDate>Mon, 16 Nov 2009 16:19:55 GMT</lastBuildDate><pubDate>Mon, 16 Nov 2009 16:19:55 GMT</pubDate><ttl>60</ttl><item><title>xp下apache2.2.9 + php5.2.9-2 + mysql压缩包安装版，出现无法加载mysql扩展错误的解决方法</title><link>http://www.blogjava.net/javajohn/archive/2009/11/08/301622.html</link><dc:creator>javajohn</dc:creator><author>javajohn</author><pubDate>Sun, 08 Nov 2009 10:24:00 GMT</pubDate><guid>http://www.blogjava.net/javajohn/archive/2009/11/08/301622.html</guid><wfw:comment>http://www.blogjava.net/javajohn/comments/301622.html</wfw:comment><comments>http://www.blogjava.net/javajohn/archive/2009/11/08/301622.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/javajohn/comments/commentRss/301622.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/javajohn/services/trackbacks/301622.html</trackback:ping><description><![CDATA[<p>安装完phpmyadmin，大家经常出现的问题就是报错：&#8220;无法载入mysql扩展，请检查php配置&#8221;。<br />
如果你使用的是php5.2以上的版本，请注意：php对服务的扩展功能做了一定的改动，也就是说，你安装php和扩展的方式也要做调整了。<br />
主要的调整有两方面，一是PHP5.2以上的版本中，PHP.INI文件无需添加到WINDOWS目录下。二是类如&#8220;mysql扩展&#8221;这样的库文件C:\PHP\libmcrypt.dll要复制到到C:\PHP\ext目录中，而不是像老版本的安装方式复制到c:\windows\system32中。<br />
具体的安装步骤请耐心参考下文：<br />
1.将PHP5.2.X解压至你的安装目录，如C:\PHP<br />
2.在apache的配置文档http.conf文件中，加入以下代码，使apache能将php以模块方式加载：<br />
LoadModule php5_module "c:/php/php5apache2_2.dll"<br />
AddType application/x-httpd-php .php<br />
3.在apache的配置文档http.conf文件中，加入以下代码，指定PHP.INI文件的所在目录：<br />
PHPIniDir "C:/php"<br />
4.将PHP.INI-DIST更名为PHP.INI，并编辑C:\PHP\PHP.INI文件：<br />
找到extension_dir = "./"<br />
更改为extension_dir = "C:\php\ext"<br />
找到;extension=php_mysql.dll<br />
去掉前面的分号。<br />
5.现在是最重要的步骤，请注意：复制C:\PHP\libmysql.dll至C:\PHP\ext目录下,用来支持MYSQL扩展库，<br />
并在APACHE2.2的配置文件中加入<br />
LoadFile C:\php\php5ts.dll<br />
LoadFile C:\php\libmysql.dll<br />
6.重启WEB服务<br />
7.IIS用户，更改内容同上，需要把PHP.INI文件复制到%STSTEMROOT%下<br />
完成以上操作后重启服务。<br />
当配置完毕所有服务后，安装PhpMyAdmin，会有出现&#8220;无法载入 mcrypt 扩展，&lt;br /&gt;请检查 PHP 配置&#8221;的提示，针对这个问题的解决办法是：<br />
1.编辑APACHE2.2.X的配置文件HTTPD.CONF中添加LoadFile C:\php\libmcrypt.dll<br />
2.复制C:\PHP\libmcrypt.dll到C:\PHP\ext，用于完整扩展文件。<br />
3.编辑C:\PHP\PHP.INI文件，找到;extension=php_mcrypt.dll，去掉前面分号";"<br />
如果，安装PhpMyAdmin时也出现--&#8220;没有发现 PHP 的扩展设置mbstring， 而当前系统好像在使用宽字符集；没有 mbstring 扩展的 phpMyAdmin 不能正确识别字符串，可能产生不可意料的结果&#8221;的提示，针对这个问题的解决办法是：<br />
编辑C:\PHP\PHP.INI找到;extension=php_mbstring.dll，去掉前面的分号";"<br />
完成以上操作后再次重启服务。<br />
最后，是使用PHPMYADMIN3前的一些基本把配置，这个配置是针对phpMyadmin3.0以上的版本。<br />
配置前确定你以按上文正确配置了PHP运行环境。<br />
配置基本步骤如下：<br />
1.复制phpMyAdmin\libraries\config.default.php到phpMyAdmin根目录并改名为config.inc.php<br />
2.编辑config.inc.php<br />
$cfg['blowfish_secret'] = '';更改为$cfg['blowfish_secret'] = 'abcd'；两个单引号中随便输入任何字符都可以。<br />
$cfg['Servers'][$i]['auth_type'] = 'config';更改为$cfg['Servers'][$i]['auth_type'] = 'cookie';<br />
保存后，刷新页面，输入MYSQL的登陆账号和密码就可以了。<br />
如果出现Cookies 必须启用才能登入的问题，清空浏览器的Cookies就可以了。 </p><img src ="http://www.blogjava.net/javajohn/aggbug/301622.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/javajohn/" target="_blank">javajohn</a> 2009-11-08 18:24 <a href="http://www.blogjava.net/javajohn/archive/2009/11/08/301622.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转]≡ Windows XP + Apache 2.2.4 + PHP 5.2 + MySQL 5.0.18 +eclipse3.2+wampp-2.2.zip+HardCore环境配置说明 ≡</title><link>http://www.blogjava.net/javajohn/archive/2008/09/17/229404.html</link><dc:creator>javajohn</dc:creator><author>javajohn</author><pubDate>Wed, 17 Sep 2008 05:39:00 GMT</pubDate><guid>http://www.blogjava.net/javajohn/archive/2008/09/17/229404.html</guid><wfw:comment>http://www.blogjava.net/javajohn/comments/229404.html</wfw:comment><comments>http://www.blogjava.net/javajohn/archive/2008/09/17/229404.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/javajohn/comments/commentRss/229404.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/javajohn/services/trackbacks/229404.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: php入门&nbsp;&nbsp;<a href='http://www.blogjava.net/javajohn/archive/2008/09/17/229404.html'>阅读全文</a><img src ="http://www.blogjava.net/javajohn/aggbug/229404.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/javajohn/" target="_blank">javajohn</a> 2008-09-17 13:39 <a href="http://www.blogjava.net/javajohn/archive/2008/09/17/229404.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>右键 打开方式 选择程序 无法添加</title><link>http://www.blogjava.net/javajohn/archive/2008/09/16/229186.html</link><dc:creator>javajohn</dc:creator><author>javajohn</author><pubDate>Tue, 16 Sep 2008 07:46:00 GMT</pubDate><guid>http://www.blogjava.net/javajohn/archive/2008/09/16/229186.html</guid><wfw:comment>http://www.blogjava.net/javajohn/comments/229186.html</wfw:comment><comments>http://www.blogjava.net/javajohn/archive/2008/09/16/229186.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/javajohn/comments/commentRss/229186.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/javajohn/services/trackbacks/229186.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 最近在搞几个项目的时候用到Dreamweaver8和ps但是遇到个很另人十分不爽的问题，那就是html和gif文件在使用“打开方式”中选不到，而且更郁闷的是点完“浏览”添加了exe文件以后毫无反应，虽然把文件直接托进工具里也可以打开但总是增加了很多麻烦，文件少也就不说了，但是如果有很多文件要托，而不是直接使用打开方式就很耽误工夫了，终于找到一份彻底解决的方法，以备不时之需&nbsp;&nbsp;<a href='http://www.blogjava.net/javajohn/archive/2008/09/16/229186.html'>阅读全文</a><img src ="http://www.blogjava.net/javajohn/aggbug/229186.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/javajohn/" target="_blank">javajohn</a> 2008-09-16 15:46 <a href="http://www.blogjava.net/javajohn/archive/2008/09/16/229186.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转]Axis1.4 利用 deploy.wsdd 发布 server-config.wsdd文件</title><link>http://www.blogjava.net/javajohn/archive/2008/08/10/221158.html</link><dc:creator>javajohn</dc:creator><author>javajohn</author><pubDate>Sun, 10 Aug 2008 10:57:00 GMT</pubDate><guid>http://www.blogjava.net/javajohn/archive/2008/08/10/221158.html</guid><wfw:comment>http://www.blogjava.net/javajohn/comments/221158.html</wfw:comment><comments>http://www.blogjava.net/javajohn/archive/2008/08/10/221158.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/javajohn/comments/commentRss/221158.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/javajohn/services/trackbacks/221158.html</trackback:ping><description><![CDATA[配置axis环境变量<br /><p>set JAVA_HOME=D:\j2sdk1.4.1_01<br />set CATALINA_HOME=D:\Tomcat 5.0<br />set classpath=.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;<br />set Path=%Path%;%JAVA_HOME%\bin;%CATALINA_HOME%\bin</p><p>set AXIS_HOME=E:\Tomcat\webapps\axis<br />set AXIS_LIB=%AXIS_HOME%\WEB-INF\lib<br />set AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery.jar;%AXIS_LIB%\commons-logging.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\activation.jar;%AXIS_LIB%\mail.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar;%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\xmlsec.jar<br />set classpath=.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\common\lib\servlet.jar;</p><br />启动tomcat ，运行-cmd  到deploy.wsdd文件所在目录下使用命令<br />E:\Java\Tomcat 5.5\webapps\Axis1.4_samples2\WEB-INF&gt;java -Djava.ext.dirs="e:\Java\Tomcat 5.5\webapps\axis\WEB-INF\lib" org.apache.axis.client.AdminClient deploy.wsdd<br /><br />我的Tomca 5.5之间有个空格，所以需要将整个路径使用“”包含，运行这个命令后会在E:\Java\Tomcat 5.5\webapps\axis\WEB-INF 下生成一个 server-config.wsdd 这个就是我们需要的<br />原址：<a href="/libin2722/archive/2007/11/25/163011.html">http://www.blogjava.net/libin2722/archive/2007/11/25/163011.html</a><img src ="http://www.blogjava.net/javajohn/aggbug/221158.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/javajohn/" target="_blank">javajohn</a> 2008-08-10 18:57 <a href="http://www.blogjava.net/javajohn/archive/2008/08/10/221158.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>acegi源码学习之用户登录篇</title><link>http://www.blogjava.net/javajohn/archive/2006/12/06/85898.html</link><dc:creator>javajohn</dc:creator><author>javajohn</author><pubDate>Wed, 06 Dec 2006 09:33:00 GMT</pubDate><guid>http://www.blogjava.net/javajohn/archive/2006/12/06/85898.html</guid><wfw:comment>http://www.blogjava.net/javajohn/comments/85898.html</wfw:comment><comments>http://www.blogjava.net/javajohn/archive/2006/12/06/85898.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.blogjava.net/javajohn/comments/commentRss/85898.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/javajohn/services/trackbacks/85898.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: acegi								源码学习之用户登录篇								一、查看				applicationContext-acegi-security.xml				配置文件，涉及到登录的配置为：														 1				．																																		&lt;				...&nbsp;&nbsp;<a href='http://www.blogjava.net/javajohn/archive/2006/12/06/85898.html'>阅读全文</a><img src ="http://www.blogjava.net/javajohn/aggbug/85898.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/javajohn/" target="_blank">javajohn</a> 2006-12-06 17:33 <a href="http://www.blogjava.net/javajohn/archive/2006/12/06/85898.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>(转)Class.isInstance(Object o),    isAssignableFrom(Class cls) </title><link>http://www.blogjava.net/javajohn/archive/2006/11/30/84557.html</link><dc:creator>javajohn</dc:creator><author>javajohn</author><pubDate>Thu, 30 Nov 2006 07:02:00 GMT</pubDate><guid>http://www.blogjava.net/javajohn/archive/2006/11/30/84557.html</guid><wfw:comment>http://www.blogjava.net/javajohn/comments/84557.html</wfw:comment><comments>http://www.blogjava.net/javajohn/archive/2006/11/30/84557.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/javajohn/comments/commentRss/84557.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/javajohn/services/trackbacks/84557.html</trackback:ping><description><![CDATA[
		<u>
				<font color="#800080"> Class.isInstance(Object o),isAssignableFrom(Class cls)</font>
		</u>
		<div class="postText">
				<table cellspacing="0" cellpadding="0" width="100%" border="0">
						<tbody>
								<tr>
										<td>
												<p>
														<a>　isInstance <br /> public native boolean isInstance(Object obj)</a>
												</p>
												<p>此方法是 Java 语言 instanceof 操作的动态等价方法。 如果指定的 Object 参数非空，且该类不生成 ClassCastException 异常的引用，则返回 true， 否则返回 false。 <br />特别地，当该类表示一个已声明的类时，若指定的 Object 是该类(或其任一父类)的一个实例则返回 true，否则返回 false。若该类是一数组类，且指定的 Object 能通过转换运算、或转换运算的扩充引用，转换为一个数组对象，那么返回 true；否则返回 false。 若该类是接口类，如果指定的 Object 参数类或其任一父类实现了此接口则返回 true；否则返回 false。如果该类是基类型类，则返回 false。 </p>
												<p>
														<br />参数： <br />obj - 检查的对象。 <br />isAssignableFrom <br /> public native boolean isAssignableFrom(Class cls)</p>
												<p>
														<font color="#ff0000">判定 Class 对象表示的类或接口是否同参数指定的 Class 表示的类或接口相同，或是其父类或父接口。</font> 如果成立则返回 true，否则返回 false。若该类是基类型类，且指定的类参数恰为此类则返回 true，否则返回 false。 <br /><font color="#ff0000">特别地，通过标别转换或其扩展引用，此方法将测试指定的 Class 参数表示的类型能否转换为当前 Class 对象表示的类型</font>，关于更详细信息，请参看 The Java Language Specification 的 5.1.1 和 5.1.4 节。 </p>
										</td>
								</tr>
						</tbody>
				</table>
				<br />
				<br />
				<p id="TBPingURL">Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=708736</p>
		</div>
<img src ="http://www.blogjava.net/javajohn/aggbug/84557.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/javajohn/" target="_blank">javajohn</a> 2006-11-30 15:02 <a href="http://www.blogjava.net/javajohn/archive/2006/11/30/84557.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>传说中的100句英语可以帮你背7000单词</title><link>http://www.blogjava.net/javajohn/archive/2006/08/23/65253.html</link><dc:creator>javajohn</dc:creator><author>javajohn</author><pubDate>Wed, 23 Aug 2006 04:59:00 GMT</pubDate><guid>http://www.blogjava.net/javajohn/archive/2006/08/23/65253.html</guid><wfw:comment>http://www.blogjava.net/javajohn/comments/65253.html</wfw:comment><comments>http://www.blogjava.net/javajohn/archive/2006/08/23/65253.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/javajohn/comments/commentRss/65253.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/javajohn/services/trackbacks/65253.html</trackback:ping><description><![CDATA[
		<div class="entrytext">
				<p>1. Typical of the grassland dwellers of the continent is the American antelope, or pronghorn.</p>
				<p>1.美洲羚羊，或称叉角羚，是该大陆典型的草原动物。</p>
				<p>2. Of the millions who saw Haley’s comet in 1986, how many people will live long enough to see it return in the twenty-first century.</p>
				<p>2. 1986年看见哈雷慧星的千百万人当中，有多少人能够长寿到足以目睹它在二十一世纪的回归呢？</p>
				<p>3. Anthropologists have discovered that fear, happiness, sadness, and surprise are universally reflected in facial expressions.</p>
				<p>3.人类学家们已经发现，恐惧，快乐，悲伤和惊奇都会行之于色，这在全人类是共通的。</p>
				<p>4. Because of its irritating effect on humans, the use of phenol as a general antiseptic has been largely discontinued.</p>
				<p>4.由于苯酚对人体带有刺激性作用，它基本上已不再被当作常用的防腐剂了。</p>
				<p>5. In group to remain in existence, a profit-making organization must, in the long run, produce something consumers consider useful or desirable.</p>
				<p>5.任何盈利组织若要生存，最终都必须生产出消费者可用或需要的产品。</p>
				<p>6. The greater the population there is in a locality, the greater the need there is for water, transportation, and disposal of refuse.</p>
				<p>6.一个地方的人口越多，其对水，交通和垃圾处理的需求就会越大。</p>
				<p>7. It is more difficult to write simply, directly, and effectively than to employ flowery but vague expressions that only obscure one’s meaning.</p>
				<p>7.简明，直接，有力的写作难于花哨，含混而意义模糊的表达。</p>
				<p>8. With modern offices becoming more mechanized, designers are attempting to personalize them with warmer, less severe interiors.</p>
				<p>8.随着现代办公室的日益自动化，设计师们正试图利用较为温暖而不太严肃的内部装饰来使其具有亲切感。</p>
				<p>9. The difference between libel and slander is that libel is printed while slander is spoken.</p>
				<p>9.诽谤和流言的区别在于前者是书面的，而后者是口头的。</p>
				<p>10. The knee is the joints where the thigh bone meets the large bone of the lower leg.</p>
				<p>10.膝盖是大腿骨和小腿胫的连接处。</p>
				<p>11. Acids are chemical compounds that, in water solution, have a sharp taste, a corrosive action on metals, and the ability to turn certain blue vegetable dyes red.</p>
				<p>11.酸是一种化合物，它在溶于水时具有强烈的气味和对金属的腐蚀性，并且能够使某些蓝色植物染料变红。</p>
				<p>12. Billie Holiday’s reputation as a great jazz-blues singer rests on her ability to give emotional depth to her songs.</p>
				<p>12. Billie Holiday’s作为一个爵士布鲁斯乐杰出歌手的名声建立在能够赋予歌曲感情深度的能力。</p>
				<p>13. Essentially, a theory is an abstract, symbolic representation of what is conceived to be reality.</p>
				<p>13.理论在本质上是对认识了的现实的一种抽象和符号化的表达。</p>
				<p>14. Long before children are able to speak or understand a language, they communicate through facial expressions and by making noises.</p>
				<p>14.儿童在能说或能听懂语言之前，很久就会通过面部表情和靠发出噪声来与人交流了。</p>
				<p>15. Thanks to modern irrigation, crops now grow abundantly in areas where once nothing but cacti and sagebrush could live.</p>
				<p>15.受当代灌溉(技术设施)之赐，农作物在原来只有仙人掌和荞属科植物才能生存的地方旺盛的生长。</p>
				<p>16. The development of mechanical timepieces spurred the search for more accurate sundials with which to regulate them.</p>
				<p>16.机械计时器的发展促使人们寻求更精确的日晷，以便校准机械计时器。</p>
				<p>17. Anthropology is a science in that anthropologists use a rigorous set of methods and techniques to do*英语易网*ent observations that can be checked by others.</p>
				<p>17.人类学是一门科学，因为人类学家采用一整套强有力的方法和技术来记录观测结果，而这样记录下来的观测结果是供他人核查的。</p>
				<p>18. Fungi are important in the process of decay, which returns ingredients to the soil, enhances soil fertility, and decomposes animal debris.</p>
				<p>18.真菌在腐化过程中十分重要，而腐化过程将化学物质回馈于土壤，提高其肥力，并分解动物粪便。</p>
				<p>19. When it is struck, a tuning fork produces an almost pure tone, retaining its pitch over a long period of time.</p>
				<p>19.音叉被敲击时，产生几乎纯质的音调，其音量经久不衰。</p>
				<p>20. Although pecans are most plentiful in the southeastern part of the United States, they are found as far north as Ohio and Illinois.</p>
				<p>20.虽然美洲山河桃树最集中于美国的东南部但是在北至俄亥俄州及伊利诺州也能看见它们。</p>
				<p>21. Eliminating problems by transferring the blame to others is often called scape-goating.</p>
				<p>21.用怪罪别人的办法来解决问题通常被称为寻找替罪羊。</p>
				<p>22. The chief foods eaten in any country depend largely on what grows best in its climate and soil.</p>
				<p>22.一个国家的主要食物是什么，大体取决于什么作物在其天气和土壤条件下生长得最好。</p>
				<p>23. Over a very large number of trials, the probability of an event’s occurring is equal to the probability that it will not occur.</p>
				<p>23.在大量的实验中，某一事件发生的几率等于它不发生的几率。</p>
				<p>24. Most substance contract when they freeze so that the density of a substance’s solid is higher than the density of its liquid.</p>
				<p>24.大多数物质遇冷收缩，所以他们的密度在固态时高于液态。</p>
				<p>25. The mechanism by which brain cells store memories is not clearly understood.</p>
				<p>25.大脑细胞储存记忆的机理并不为人明白。</p>
				<p>26. By the middle of the twentieth century, painters and sculptors in the United States had begun to exert a great worldwide influence over art.</p>
				<p>26.到了二十一世纪中叶，美国画家和雕塑家开始在世界范围内对艺术产生重大影响。</p>
				<p>27. In the eastern part of New Jersey lies the city of Elizabeth, a major shipping and manufacturing center.</p>
				<p>27.伊丽莎白市，一个重要的航运和制造业中心，坐落于新泽西州的东部。</p>
				<p>28. Elizabeth Blackwell, the first woman medical doctor in the United States, founded the New York Infirmary, an institution that has always had a completely female medical staff.</p>
				<p>28. Elizabeth Blackwell，美国第一个女医生，创建了员工一直为女性纽约诊所。</p>
				<p>29. Alexander Graham Bell once told his family that he would rather be remembered as a teacher of the deaf than as the inventor of the telephone.</p>
				<p>29. Alexander Graham Bell曾告诉家人，他更愿意让后人记住他是聋子的老师，而非电话的发明者。</p>
				<p>30. Because its leaves remain green long after being picked, rosemary became associated with the idea of remembrance.</p>
				<p>30.采摘下的迷迭香树叶常绿不衰，因此人们把迷迭香树与怀念联系在一起。</p>
				<p>31. Although apparently rigid, bones exhibit a degree of elasticity that enables the skeleton to withstand considerable impact.</p>
				<p>31.骨头看起来是脆硬的，但它也有一定的弹性，使得骨骼能够承受相当的打击。</p>
				<p>32. That xenon could not FORM chemical compounds was once believed by scientists.</p>
				<p>32.科学家曾相信：氙气是不能形成化合物的。</p>
				<p>33. Research into the dynamics of storms is directed toward improving the ability to predict these events and thus to minimize damage and avoid loss of life.</p>
				<p>33.对风暴动力学的研究是为了提高风暴预测从而减少损失，避免人员伤亡。</p>
				<p>34. The elimination of inflation would ensure that the amount of money used in repaying a loan would have the same value as the amount of money borrowed.</p>
				<p>34.消除通货膨胀应确保还贷的钱应与所贷款的价值相同。</p>
				<p>35. Futurism, an early twentieth-century movement in art, rejected all traditions and attempted to glorify contemporary life by emphasizing the machine and motion.</p>
				<p>35.未来主义，二十世纪早期的一个艺术思潮。拒绝一切传统，试图通过强调机械和动态来美化生活。</p>
				<p>36. One of the wildest and most inaccessible parts of the United States is the Everglades where wildlife is abundant and largely protected.</p>
				<p>36. Everglades是美国境内最为荒凉和人迹罕至的地区之一，此处有大量的野生动植物而且大多受(法律)保护。</p>
				<p>37. Lucretia Mott’s influence was so significant that she has been credited by some authorities as the originator of feminism in the United States.</p>
				<p>37. Lucretia Mott’s的影响巨大，所以一些权威部门认定她为美国女权运动的创始人。</p>
				<p>38. The activities of the international marketing researcher are frequently much broader than those of the domestic marketer.</p>
				<p>38.国际市场研究者的活动范围常常较国内市场研究者广阔。</p>
				<p>39. The continental divide refers to an imaginary line in the North American Rockies that divides the waters flowing into the Atlantic Ocean from those flowing into the Pacific.</p>
				<p>39.大陆分水岭是指北美洛矶山脉上的一道想象线，该线把大西洋流域和太平洋流域区分开来。</p>
				<p>40. Studies of the gravity field of the Earth indicate that its crust and mantle yield when unusual weight is placed on them.</p>
				<p>40.对地球引力的研究表明，在不寻常的负荷之下地壳和地幔会发生位移。</p>
				<p>41. The annual worth of Utah’s manufacturing is greater than that of its mining and farming combined.</p>
				<p>41.尤它州制造业的年产值大于其工业和农业的总和。</p>
				<p>42. The wallflower is so called because its weak stems often grow on walls and along stony cliffs for support.</p>
				<p>42.墙花之所以叫墙花，是因为其脆弱的枝干经常要靠墙壁或顺石崖生长，以便有所依附。</p>
				<p>43. It is the interaction between people, rather than the events that occur in their lives, that is the main focus of social psychology.</p>
				<p>43.社会心理学的主要焦点是人与人之间的交往，而不是他们各自生活中的事件。</p>
				<p>44. No social crusade aroused Elizabeth Williams’ enthusiasm more than the expansion of educational facilities for immigrants to the United States.</p>
				<p>44.给美国的新移民增加教育设施比任何社会运动都更多的激发了Elizabeth Williams的热情。</p>
				<p>45. Quails typically have short rounded wings that enable them to spring into full flight instantly when disturbed in their hiding places.</p>
				<p>45.典型的鹌鹑都长有短而圆的翅膀，凭此他们可以在受惊时一跃而起，飞离它们的躲藏地。</p>
				<p>46. According to anthropologists, the earliest ancestors of humans that stood upright resembled chimpanzees facially, with sloping foreheads and protruding brows.</p>
				<p>46.根据人类学家的说法，直立行走的人的鼻祖面部轮廓与黑猩猩相似，额头后倾，眉毛突出。</p>
				<p>47. Not until 1866 was the fully successful transatlantic cable finally laid.</p>
				<p>47.直到1866年第一条横跨大西洋的电缆才完全成功的架通。</p>
				<p>48. In his writing, John Crowe Ransom describes what he considers the spiritual barrenness of society brought about by science and technology.</p>
				<p>48. John Crowe Ransom在他的著作中描述了他认为是由科学技术给社会带来的精神贫困。</p>
				<p>49. Children with parents whose guidance is firm, consistent, and rational are inclined to possess high levels of self-confidence.</p>
				<p>49.父母的教导如果坚定，始终如一和理性，孩子就有可能充满自信。</p>
				<p>50. The ancient Hopewell people of North America probably cultivated corn and other crops, but hunting and gathering were still of critical importance in their economy.</p>
				<p>50.北美远古的Hopewell人很可能种植了玉米和其他农作物，但打猎和采集对他们的经济贸易仍是至关重要的。</p>
				<p>51. Using many symbols makes it possible to put a large amount of inFORMation on a single map.</p>
				<p>51.使用多种多样的符号可以在一张地图里放进大量的信息。</p>
				<p>52. Anarchism is a term describing a cluster of doctrines and attitudes whose principal uniting feature is the belief that government is both harmful and unnecessary.</p>
				<p>52.无政府主义这个词描述的是一堆理论和态度，它们的主要共同点在于相信政府是有害的，没有必要的。</p>
				<p>53. Probably no man had more effect on the daily lives of most people in the Untied States than did Henry Ford a pioneer in automobile production.</p>
				<p>53.恐怕没有谁对大多数美国人的日常生活影响能超过汽车生产的先驱亨利.福特。</p>
				<p>54. The use of well-chosen nonsense words makes possible the testing of many basic hypotheses in the field of language learning.</p>
				<p>54.使用精心挑选的无意义词汇，可以检验语言学科里许多基本的假定。</p>
				<p>55. The history of painting is a fascinating chain of events that probably began with the very first pictures ever made.</p>
				<p>55.优化历史是由一连串的迷人事件组成，其源头大概可以上溯到最早的图画。</p>
				<p>56. Perfectly matched pearls, strung into a necklace, bring a far higher price than the same pearls told individually.</p>
				<p>56.相互般配的珍珠，串成一条项链，就能卖到比单独售出好得多的价钱。</p>
				<p>57. During the eighteenth century, Little Turtle was chief of the Miami tribe whose territory became what is now Indiana and Ohio.</p>
				<p>57.十八世纪时，”小乌龟”是迈阿密部落的酋长，该部落的地盘就是今天的印第安那州和俄亥俄州。</p>
				<p>58. Among almost seven hundred species of bamboo, some are fully grown at less than a foot high, while others can grow three feet in twenty-four hours.</p>
				<p>58.在竹子的近七百个品种中，有的全长成还不到一英尺，有的却能在二十四小时内长出三英尺。</p>
				<p>59. Before staring on a sea voyage, prudent navigators learn the sea charts, study the sailing directions, and memorize lighthouse locations to prepare themselves for any conditions they might encounter.</p>
				<p>59.谨慎的航海员在出航前，会研究航向，记录的灯塔的位置，以便对各种可能出现的情况做到有备无患。</p>
				<p>60. Of all the economically important plants, palms have been the least studied.</p>
				<p>60.在所有的经济作物中，棕榈树得到的研究最少。</p>
				<p>61. Buyers and sellers should be aware of new developments in technology can and does affect marketing activities.</p>
				<p>61.购买者和销售者都应该留意技术的新发展，原因很简单，因为技术能够并且已经影响着营销活动。</p>
				<p>62. The application of electronic controls made possible by the microprocessor and computer storage have multiplied the uses of the modern typewriter.</p>
				<p>62.电脑储存和由于电子微处理机得以实现的电控运用成倍的增加了现代打字机的功能。</p>
				<p>63. The human skeleton consists of more than two hundred bones bound together by tough and relatively inelastic connective tissues called ligaments.</p>
				<p>63.人类骨骼有二百多块骨头组成，住些骨头石油坚韧而相对缺乏弹性的，被称为韧带的结蒂组连在一起。</p>
				<p>64. The pigmentation of a pearl is influenced by the type of oyster in which it develops and by the depth, temperature, and the salt content of the water in which the oyster lives.</p>
				<p>64.珍珠的色泽受到作为其母体牡蛎种类及牡蛎生活水域的深度，温度和含盐度的制约。</p>
				<p>65. Although mockingbirds superbly mimic the songs and calls of many birds, they can nonetheless be quickly identified as mockingbirds by certain aural clues.</p>
				<p>65.尽管模仿鸟学很多种鸟的鸣叫声惟妙惟肖，但人类还是能够依其声音上的线索很快识别它们。</p>
				<p>66. Not only can walking fish live out of water, but they can also travel short distances over land.</p>
				<p>66.鲇鱼不仅可以离开水存活，还可以在岸上短距离移动。</p>
				<p>67. Scientists do not know why dinosaurs became extinct, but some theories postulate that changers in geography, climate, and sea levels were responsible.</p>
				<p>67.科学家不知道恐龙为何绝种了，但是一些理论推断是地理，气候和海平面的变化造成的。</p>
				<p>68. The science of horticulture, in which the primary concerns are maximum yield and superior quality, utilizes inFORMation derived from other sciences.</p>
				<p>68.主要目的在于丰富和优质的农艺学利用了其他科学的知识。</p>
				<p>69. Snow aids farmers by keeping heart in the lower ground levels, thereby saving the seeds from freezing.</p>
				<p>69.雪对农民是一种帮助，因为它保持地层土壤的温度，使种子不致冻死。</p>
				<p>70. Even though the precise qualities of hero in literary words may vary over time, the basic exemplary function of the hero seems to remain constant.</p>
				<p>70.历代文学作品中的英雄本色虽各有千秋，但其昭世功力却是恒古不变的。</p>
				<p>71. People in prehistoric times created paints by grinding materials such as plants and clay into power and then adding water.</p>
				<p>71.史前的人们制造颜料是将植物和泥土等原料磨成粉末，然后加水。</p>
				<p>72. Often very annoying weeds, goldenrods crowd out less hardy plants and act as hosts to many insect pests.</p>
				<p>72.黄菊花通常令人生厌，它挤走不那么顽强的植物，并找来很多害虫。</p>
				<p>73. Starting around 7000 B.C., and for the next four thousand years, much of the Northern Hemisphere experienced temperatures warmer than at present.</p>
				<p>73.大约从公元前七千年开始，在四千年当中，北半球的温度比现在高。</p>
				<p>74. When Henry Ford first sought financial backing for making cars, the very notion of farmers and clerks owning automobiles was considered ridiculous.</p>
				<p>74.当亨利.福特最初制造汽车为寻求资金支持时，农民和一般职员也能拥有汽车的想法被认为是可笑的。</p>
				<p>75. Though once quite large, the population of the bald eagle across North America has drastically declined in the past forty years.</p>
				<p>75.北美秃头鹰的数量一度很多，但在近四十年中全北美的秃头鹰数量急剧下降。</p>
				<p>76. The beaver chews down trees to get food and material with which to build its home.</p>
				<p>76.水獭啃倒树木，以便取食物并获得造窝的材料。</p>
				<p>77. Poodles were once used as retrievers in duck hunting, but the American Kennel Club does not consider them sporting dogs because they are now primarily kept as pets.</p>
				<p>77.长卷毛狗曾被用作猎鸭时叼回猎物的猎犬，但是美国Kennel Club却不承认它们为猎犬，因为它们现在大多数作为宠物饲养。</p>
				<p>78. As a result of what is now know in physics and chemistry, scientists have been able to make important discoveries in biology and medicine.</p>
				<p>78.物理学和化学的一个成果是使得科学家们能在生物学和医学上获得重大发现。</p>
				<p>79. The practice of making excellent films based on rather obscure novels has been going on so long in the United States as to constitute a tradition.</p>
				<p>79.根据默默无闻的小说制作优秀影片在美国由来已久，已经成为传统。</p>
				<p>80. Since the consumer considers the best fruit to be that which is the most attractive, the grower must provide products that satisfy the discerning eye.</p>
				<p>80.因为顾客认为最好的水果应该看起来也是最漂亮的，所以种植者必须提供能满足挑剔眼光的产品。</p>
				<p>81. Television the most pervasive and persuasive of modern technologies, marked by rapid change and growth, is moving into a new era, an era of extraordinary sophistication and versatility, which promises to reshape our lives and our world.</p>
				<p>81.电视，这项从迅速变化和成长为标志的最普及和最有影响力的现代技术，正在步入一个新时代，一个极为成熟和多样化的时代，这将重塑我们的生活和世界。</p>
				<p>82. Television is more than just an electronics; it is a means of expression, as well as a vehicle for communication, and as such becomes a powerful tool for reaching other human beings.</p>
				<p>82.电视不仅仅是一件电器；它是表达的手段和交流的载体并因此成为联系他人的有力工具。</p>
				<p>83. Even more shocking is the fact that the number and rate of imprisonment have more than doubled over the past twenty years, and recidivism——that is the rate for re-arrest——is more than 60 percent.</p>
				<p>83.更让人吃惊的事实是监禁的数目和比例在过去的二十年中翻了一番还有余，以及累犯率——即再次拘押的比例——为百分之六十强。</p>
				<p>84. His teaching began at the Massachusetts Institute of Technology, but William Rainey Harper lured him to the new university of Chicago, where he remained officially for exactly a generation and where his students in advanced composition found him terrifyingly frigid in the classroom but sympathetic and understanding in their personal conferences.</p>
				<p>84.他的教书生涯始于麻省理工学院，但是William Rainey Harper把他吸引到了新成立的芝加哥大学。他在那里正式任职长达整整一代人的时间。他的高级作文课上的学生觉得他在课上古板得可怕，但私下交流却富有同情和理解。</p>
				<p>85. The sloth pays such little attention to its personal hygiene that green algae grow on its coarse hair and communities of a parasitic moth live in the depths of its coat producing caterpillars which graze on its mouldy hair. Its muscles are such that it is quits incapable of moving at a speed of over a kilometer an hour even over the shortest distances and the swiftest movement it can make is a sweep of its hooked arm.</p>
				<p>85.树獭即不讲究卫生，以至于它粗糙的毛发上生出绿苔，成群的寄生蛾生长在它的皮毛深处，变成毛毛虫，并以它的脏毛为食。她的肌肉不能让他哪怕在很短的距离以内以每小时一公里的速度移动。它能做的最敏捷的动作就是挥一挥它弯曲的胳膊。</p>
				<p>86. Artificial flowers are used for scientific as well as for decorative purposes. They are made from a variety of materials, such as way and glass, so skillfully that they can scarcely be distinguished from natural flowers.</p>
				<p>86.人造花卉即可用于科学目的，也可用于装饰目的，它们可以用各种各样的材料制成，臂如蜡和玻璃；其制作如此精巧，几乎可以以假乱真。</p>
				<p>87. Three years of research at an abandoned coal mine in Argonne, Illinois, have resulted in findings that scientists believe can help reclaim thousands of mine disposal sites that scar the coal-rich regions of the United States.</p>
				<p>87.在伊利诺州Angonne市的一个废弃煤矿的三年研究取得了成果，科学家们相信这些成果可以帮助改造把美国产煤区弄得伤痕累累的数千个旧煤场。</p>
				<p>88. When the persuading and the planning for the western railroads had finally been completed, the really challenging task remained: the dangerous, sweaty, backbreaking, brawling business of actually building the lines.</p>
				<p>88.当有关西部铁路的说服和规划工作终于完成后，真正艰难的任务还没有开始；即危险，吃力，需要伤筋动骨和吵吵嚷嚷的建造这些铁路的实际工作。</p>
				<p>89. Because of the space crunch, the Art Museum has become increasingly cautious in considering acquisitions and donations of art, in some cases passing up opportunities to strengthen is collections.</p>
				<p>89.由于空间不足，艺术博物馆在考虑购买和接受捐赠的艺术品是越来越慎重，有些情况下放弃其进一步改善收藏的机会。</p>
				<p>90. The United States Constitution requires that President be a natural-born citizen, thirty-five years of age or older, who has lived in the United States for a minimum of fourteen years.</p>
				<p>90.美国宪法要求总统是生于美国本土的公民，三十五岁以上，并且在美国居住了至少十四年。</p>
				<p>91. Arid regions in the southwestern United States have become increasingly inviting playgrounds for the growing number of recreation seekers who own vehicles such as motorcycles or powered trail bikes and indulge in hill-climbing contests or in caving new trails in the desert.</p>
				<p>91.美国西部的不毛之地正成为玩耍的地方，对越来越多拥有摩托车或越野单车类车辆的，喜欢放纵于爬坡比赛或开辟新的沙漠通道的寻欢作乐者具有不断增长的吸引力。</p>
				<p>92. Stone does decay, and so tools of long ago have remained when even the bones of the man who made them have disappeared without trace.</p>
				<p>92.石头不会腐烂，所以以前的(石器)工具能保存下来，虽然它们的制造者已经消失的无影无踪。</p>
				<p>93. Insects would make it impossible for us to live in the world; they would devour all our crops and kill our flocks and herds, if it were not for the protection we get from insect-eating animals.</p>
				<p>93.昆虫就将会使我们无法在这个世界上居住；如果我们没有受到以昆虫为食的动物的保护，昆虫就会吞嚼掉我们所有的庄稼并杀死我们饲养的禽兽。 94. It is true that during their explorations they often faced difficulties and dangers of the most perilous nature, equipped in a manner which would make a modern climber shudder at the thought, but they did not go out of their way to court such excitement.</p>
				<p>94.确实，他们在探险中遇到了极具威胁性的困难和危险，而他们的装备会让一个现代登山者想一想都会浑身颤栗。不过他们并不是刻意去追求刺激的。</p>
				<p>95. There is only one difference between an old man and a young one: the young man has a glorious future before him and old one has a splendid future behind him: and maybe that is where the rub is.</p>
				<p>95.老人和年轻人之间只有一个区别：年轻人的前面有辉煌的未来，老年人灿烂的未来却已在它们身后。这也许就是困难之所在。</p>
				<p>96. I find young people exciting. They have an air of freedom, and they have not a dreary commitment to mean ambitions or love comfort. They are not anxious social climbers, and they have no devotion to material things.</p>
				<p>96.我们位年强人振奋。它们带有自由的气息，他们不会为狭隘的野心和贪婪享受而孜孜以求。他们不是焦虑的向上爬的人，他们不会对物质性的东西难舍难分。</p>
				<p>97. I am always amazed when I hear people saying that sport creates goodwill between the nations, and that if only the common peoples of the world could meet one another at football or cricket, they would have no inclination to meet on the battlefield.</p>
				<p>97.每次我听说体育运动能够在国家间建立起友好感情，说世界各地的普通人只要能在足球场或板球场上相遇就会没有兴趣在战场上相遇的话，我都倍感诧异。</p>
				<p>98. It is impossible to say simply for the fun and exercise: as soon as the question of prestige arises, as soon as you feel that you and some larger unit will be disgraced if you lose, the most savage combative instincts are around.</p>
				<p>98.没有可能仅仅为了娱乐或锻炼而运动：一旦有了问题，一旦你觉得你输了你和你所属团体会有失体面时，你最野蛮的好斗本能就会被激发出来。</p>
				<p>99. It has been found that certain bats emit squeaks and by receiving the echoes, they can locate and steer clear of obstacles——or locate flying insects on which they feed. This echo-location in bats is often compared with radar, the principle of which is similar.</p>
				<p>99.人们已经发现，某些蝙蝠发出尖叫声并靠接受回响来锁定和避免障碍物——或者找到它们赖以为生的昆虫。蝙蝠这种回响定位法常拿来和原理与之很相近似的雷达相比。</p>
				<p>100. As the time and cost of making a clip drop to a few days and a few hundred dollars, engineers may soon be free to let their imaginations soar without being penalized by expensive failure.</p>
				<p>100.随着芯片制造时间和费用降低到了几天和几百美元，工程师们可能很快可以任他们的想象驰骋而不会被昂贵的失败所惩罚。 </p>
				<p class="postmetadata alt">
						<small>This entry was posted on 星期二, 八月 22nd, 2006 at 10:08 pm and is filed under <a title="显示学海无涯的所有文章" href="http://www.daydaytop.com/tags/%e5%ad%a6%e6%b5%b7%e6%97%a0%e6%b6%af/" rel="category tag"><font color="#0d6aa6">学海无涯</font></a>. You can follow any responses to this entry through the <a href="http://www.daydaytop.com/archives/161/feed/"><font color="#0d6aa6">RSS 2.0</font></a> feed. You can skip to the end and leave a response. Pinging is currently not allowed. </small>
				</p>
		</div>
<img src ="http://www.blogjava.net/javajohn/aggbug/65253.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/javajohn/" target="_blank">javajohn</a> 2006-08-23 12:59 <a href="http://www.blogjava.net/javajohn/archive/2006/08/23/65253.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Drools 为你的业务逻辑提供框架[修订] </title><link>http://www.blogjava.net/javajohn/archive/2006/05/27/48502.html</link><dc:creator>javajohn</dc:creator><author>javajohn</author><pubDate>Sat, 27 May 2006 10:50:00 GMT</pubDate><guid>http://www.blogjava.net/javajohn/archive/2006/05/27/48502.html</guid><wfw:comment>http://www.blogjava.net/javajohn/comments/48502.html</wfw:comment><comments>http://www.blogjava.net/javajohn/archive/2006/05/27/48502.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/javajohn/comments/commentRss/48502.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/javajohn/services/trackbacks/48502.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 大部分 web 以及企业级 Java 应用可被分成三部分：与用户交互的前台，与数据库这样的后台系统交互的服务层，以及它们之间的业务逻辑。最近这段时间，通常我们会使用框架来实现前台和后台的需求（例如：Struts, Cocoon, Spring, Hibernate, JDO, 以及实体 Beans），但是却没有一种标准手段很好的组织业务逻辑。像 EJB 和 Spring 这样的框架都以 high ...&nbsp;&nbsp;<a href='http://www.blogjava.net/javajohn/archive/2006/05/27/48502.html'>阅读全文</a><img src ="http://www.blogjava.net/javajohn/aggbug/48502.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/javajohn/" target="_blank">javajohn</a> 2006-05-27 18:50 <a href="http://www.blogjava.net/javajohn/archive/2006/05/27/48502.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>linux下apache2.2整合tomcat5.5.16</title><link>http://www.blogjava.net/javajohn/archive/2006/04/14/41164.html</link><dc:creator>javajohn</dc:creator><author>javajohn</author><pubDate>Fri, 14 Apr 2006 13:00:00 GMT</pubDate><guid>http://www.blogjava.net/javajohn/archive/2006/04/14/41164.html</guid><wfw:comment>http://www.blogjava.net/javajohn/comments/41164.html</wfw:comment><comments>http://www.blogjava.net/javajohn/archive/2006/04/14/41164.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.blogjava.net/javajohn/comments/commentRss/41164.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/javajohn/services/trackbacks/41164.html</trackback:ping><description><![CDATA[终于整合成功了这两个东东<br />1.环境:<br />        redhat<br />        tomcat5.5.16<br />        jdk1.5<br />        apache2.2<br />2.软件安装:<br />    1)首先要安装jdk,这个东东我是第一次在linux上装走了不少弯路.不过毕竟网上资料海下了,就没必要介绍了.<br />    2)tomcat5.5.16的安装也很简单略过<br />    3)apache新出的AJP模块确实不错,现在整合起来真的很方便.<br />      apache2.2下载地址:www.apache.org/dist下载gz2的格式.<br />      由于安装apache2.2需要先安装arp和arp-util这两个东东所以也要从<a href="http://www.apache.org/dist">www.apache.org/dist</a>上下载.这个网址上有我以前一直在找的好多东东:).在这上面飘了好几天,呵呵.好了arp和arp-util的安装也很简单:<br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #000000">安装apr<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /># cd srclib/apr<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /># ./configure --prefix=/server/soft/apr<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /># make<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /># make install<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /><br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />安装apr-util<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /># cd ../apr-util/<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /># ./configure --prefix=/server/soft/apr-util \<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />--with-apr=/server/soft/apr<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /># make<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /># make install</span></div><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #000000">安装apache<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /># ./configure --prefix=/server/soft/apache \<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />--enable-so \<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />--enable-rewrite=share \<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />--enable-proxy=share \<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />--enable-proxy-ajp=share \<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />--enable-dav=share \<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />--with-apr=/server/soft/apr \<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />--with-apr-util=/server/soft/apr-util/<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /># make <br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /># make install<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span></div>此时需要进入apache/bin里键入httpd -l查看一下mod-prox-ajp.c是否安装成功,一般是没问题的.除非你的环境变量里是系统安装的时候设置的apache,这就需要我们在profile文件里手动添加一下我们安装apache2.2的路径,主要是 path指到apache.2.2的bin目录里就可以了.apache2.2的欢迎界面和以前的不太一样显示"It works!"让我很是郁闷.一开始一直以为是系统里有别的服务器在启动（晕）。<br />apache安装成功以后需要对它的两个配置文件conf/httpd.conf和conf/extra/httpd-vhosts.conf做一点小小的修改。<br />在conf/httpd.conf文件里搜索一下“Include conf/extra/httpd-vhosts.conf”，把前面的“#”去掉。然后“conf/extra/httpd-vhosts.conf”文件修改如下：<br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">VirtualHost </span><span style="COLOR: #ff0000">*:80</span><span style="COLOR: #0000ff">&gt;</span><span style="COLOR: #000000"><br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    ServerAdmin abc@aa.com[/email]<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    ProxyPass / ajp://localhost:8009/ retry=3<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    ProxyPassReverse / ajp://localhost:8009/<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" />    ServerName localhost<br /><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #0000ff">&lt;/</span><span style="COLOR: #800000">VirtualHost</span><span style="COLOR: #0000ff">&gt;</span></div>好了apache2.2已经准备好了和tomcat的连接了。<br />接下来需要修改一下tomcat的server.xml文件。 
<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #0000ff">&lt;</span><span style="COLOR: #800000">Connector </span><span style="COLOR: #ff0000">port</span><span style="COLOR: #0000ff">="8009"</span><span style="COLOR: #ff0000"> enableLookups</span><span style="COLOR: #0000ff">="false"</span><span style="COLOR: #ff0000"> redirectPort</span><span style="COLOR: #0000ff">="8443"</span><span style="COLOR: #ff0000"> protocol</span><span style="COLOR: #0000ff">="AJP/1.3"</span><span style="COLOR: #ff0000"> debug</span><span style="COLOR: #0000ff">="0"</span><span style="COLOR: #ff0000"> acceptCount</span><span style="COLOR: #0000ff">="100"</span><span style="COLOR: #ff0000"> minSpareThreads</span><span style="COLOR: #0000ff">="10"</span><span style="COLOR: #ff0000"> maxSpareThreads</span><span style="COLOR: #0000ff">="100"</span><span style="COLOR: #ff0000">  maxThreads</span><span style="COLOR: #0000ff">="3072"</span><span style="COLOR: #0000ff">/&gt;</span></div>怎么样，这个很面熟吧！然后启动apache和tomcat吧，访问一下<a href="http://localhsot">http://localhsot</a>，看到tom猫了吗？如果看不到和我联系。<img src ="http://www.blogjava.net/javajohn/aggbug/41164.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/javajohn/" target="_blank">javajohn</a> 2006-04-14 21:00 <a href="http://www.blogjava.net/javajohn/archive/2006/04/14/41164.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>我的位置</title><link>http://www.blogjava.net/javajohn/archive/2006/04/14/41012.html</link><dc:creator>javajohn</dc:creator><author>javajohn</author><pubDate>Fri, 14 Apr 2006 01:05:00 GMT</pubDate><guid>http://www.blogjava.net/javajohn/archive/2006/04/14/41012.html</guid><wfw:comment>http://www.blogjava.net/javajohn/comments/41012.html</wfw:comment><comments>http://www.blogjava.net/javajohn/archive/2006/04/14/41012.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/javajohn/comments/commentRss/41012.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/javajohn/services/trackbacks/41012.html</trackback:ping><description><![CDATA[
		<iframe marginwidth="0" marginheight="0" src="http://www.gsuo.com/mstmap50007/g4blog_map.jsp?g_mapid=21&amp;g_label=%CE%D2%B5%C4%CE%BB%D6%C3&amp;g_addr=%BA%E7%E4%EE%C2%B7461%BA%C560%C2%A52F" frameborder="0" width="530" scrolling="no" height="405">
		</iframe>
<img src ="http://www.blogjava.net/javajohn/aggbug/41012.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/javajohn/" target="_blank">javajohn</a> 2006-04-14 09:05 <a href="http://www.blogjava.net/javajohn/archive/2006/04/14/41012.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>◆原创◆我的widowsxp apache2.0.55 tomcat5.0.30 整合之路(修订版)</title><link>http://www.blogjava.net/javajohn/archive/2006/04/06/39641.html</link><dc:creator>javajohn</dc:creator><author>javajohn</author><pubDate>Thu, 06 Apr 2006 09:36:00 GMT</pubDate><guid>http://www.blogjava.net/javajohn/archive/2006/04/06/39641.html</guid><wfw:comment>http://www.blogjava.net/javajohn/comments/39641.html</wfw:comment><comments>http://www.blogjava.net/javajohn/archive/2006/04/06/39641.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/javajohn/comments/commentRss/39641.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/javajohn/services/trackbacks/39641.html</trackback:ping><description><![CDATA[
		<ol>
				<li>环境：<br />windowsxp<br />j2sdk1.4.2_08<br />apache2.0.55(<a href="http://apache.justdn.org/httpd/binaries/win32/apache_2.0.55-win32-x86-no_ssl.msi">http://apache.justdn.org/httpd/binaries/win32/apache_2.0.55-win32-x86-no_ssl.msi</a>)<br /><font color="#000000">mod_jk-apache-2.0.55.so</font> (<a href="http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.15/mod_jk-apache-2.0.55.so">http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.15/mod_jk-apache-2.0.55.so</a>) 
</li>
				<li>apache和tomcat的安装（略） 
</li>
				<li>apache整合tomcat步骤： 
<ul><li>copy   mod_jk-apache-2.0.55.so 到Apache2\modules下 
</li><li>打开Apache2\conf下的httpd.conf 
<ul><li>查找"DirectoryIndex"， 在index.html的后面添加index.jsp并保存，注意相互之间应有空格。 (DirectoryIndex index.html index.htm index.jsp) 
</li><li>找到ServerName并将ServerName改为：ServerName localhost 
</li><li>找到DocumentRoot并将DocumentRoot改为：DocumentRoot "web目录（如：d:\myWebRoot）" 
</li><li>在httpd.conf最后加如下： </li></ul></li></ul></li>
		</ol>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">#<br />LoadModule    jk_module  modules/mod_jk-apache-2.0.55.so<br />#<br />#config of mod_jk<br />#<br />JkWorkersFile conf/workers.properties<br />JkLogFile     logs/mod_jk.log<br />JkLogLevel    info<br />JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "<br />JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories<br />JkRequestLogFormat     "%w %V %T"<br />#<br />JkMount  /*  worker1<br />JkMount  /*/*  worker1<br />JkMount  /*/*/*  worker1<br />JkMount  /*/*/*/*  worker1<br />#<br /># End of mod_jk</div>
		<p> </p>
		<p>  4.  在apache的conf目录下新建workers.properties 内容如下：</p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<p>workers.tomcat_home=C:\Tomcat5<br />workers.java_home=C:\j2sdk1.4.2_08<br />ps=/<br />worker.list=worker1</p>
				<p>worker.worker1.port=8009<br />worker.worker1.host=localhost<br />worker.worker1.type=ajp13<br />worker.worker1.lbfactor=50</p>
		</div>
		<br /> 5.  测试<br />      1.启动Apache2.0.55与Tomcat5 .0.30。<br />      2.在%DocumentRoot%目录下创建一个index.jsp文件<br />      2.在地址栏中分别输入<a href="http://localhost/"><font color="#666666">http://localhost/</font></a> ，与<a href="http://localhost:8080/"><font color="#666666">http://localhost:8080/</font></a>若结果相同，说明整合成功。<img src ="http://www.blogjava.net/javajohn/aggbug/39641.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/javajohn/" target="_blank">javajohn</a> 2006-04-06 17:36 <a href="http://www.blogjava.net/javajohn/archive/2006/04/06/39641.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【转帖】oracle 常用SQL查询</title><link>http://www.blogjava.net/javajohn/archive/2006/03/30/38197.html</link><dc:creator>javajohn</dc:creator><author>javajohn</author><pubDate>Thu, 30 Mar 2006 01:55:00 GMT</pubDate><guid>http://www.blogjava.net/javajohn/archive/2006/03/30/38197.html</guid><wfw:comment>http://www.blogjava.net/javajohn/comments/38197.html</wfw:comment><comments>http://www.blogjava.net/javajohn/archive/2006/03/30/38197.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/javajohn/comments/commentRss/38197.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/javajohn/services/trackbacks/38197.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 转自http://www.ee82.com/htm/oracle/17.asp										一、ORACLE的启动和关闭				1				、在单机环境下要想启动或关闭ORACLE系统必须首先切换到ORACLE用户，如下su 				-				 oraclea、启动ORACLE系统oracle				&gt;				svrmgrlSVRMGR				&g...&nbsp;&nbsp;<a href='http://www.blogjava.net/javajohn/archive/2006/03/30/38197.html'>阅读全文</a><img src ="http://www.blogjava.net/javajohn/aggbug/38197.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/javajohn/" target="_blank">javajohn</a> 2006-03-30 09:55 <a href="http://www.blogjava.net/javajohn/archive/2006/03/30/38197.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>