<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[这样生活]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/ansn002</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; ansn002]]></copyright><item><title><![CDATA[Nginx负载均衡]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84357145</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84357145</guid><author>ansn002</author><pubDate>Fri, 16 Nov 2012 08:00:33 +0800</pubDate><description><![CDATA[ 
最近迷上了Nginx,真实麻雀虽小,五脏俱全..功能实在强大..
nginx不单可以作为强大的web服务器，也可以作为一个反向代理服务器，而且nginx还可以按照调度规则实现动态、静态页面的分离，可以按照轮询、ip哈希、URL哈希、权重等多种方式对后端服务器做负载均衡，同时还支持后端服务器的健康检查。
如果只有一台服务器时,这个服务器挂了,那么对于网站来说是个灾难.因此，这时候的负载均衡...]]></description><category></category></item><item><title><![CDATA[java下载文件的种方式]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84343236</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84343236</guid><author>ansn002</author><pubDate>Thu, 01 Nov 2012 15:48:32 +0800</pubDate><description><![CDATA[ 
原文自从http://www.cnblogs.com/zyxzhsh/archive/2010/12/02/1894089.html，仅供学习
Java文件下载的几种方式
 
public HttpServletResponse download(String path, HttpServletResponse response) {try {// path是指欲下载的文件的路径。Fi...]]></description><category></category></item><item><title><![CDATA[jQuery.fn 是个什么东西？]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84282144</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84282144</guid><author>ansn002</author><pubDate>Mon, 03 Sep 2012 09:47:33 +0800</pubDate><description><![CDATA[

转自http://jiangzhenghua.iteye.com/blog/1007934，仅供学习
 
jQuery为开发插件提拱了两个方法，分别是：
 
jQuery.fn.extend(object);
jQuery.extend(object);
 
jQuery.extend(object); 为扩展jQuery类本身.为类添加新的方法。
jQuery.fn.ext...]]></description><category></category></item><item><title><![CDATA[servlet学习笔记_ServletContext]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84263731</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84263731</guid><author>ansn002</author><pubDate>Tue, 24 Jul 2012 16:39:00 +0800</pubDate><description><![CDATA[转载自：http://lewis-q.iteye.com/blog/161814，仅供学习，谢谢作者
1 Web应用共享数据区ServletContext接口

ServletContext接口表示一个web应用的上下文。可以想象成一个web一个能用的共享数据区域，该区域保存整个web共享数据。

1.1 Servlet容器何时创建ServeltContext接口实现类

当一个we...]]></description><category></category></item><item><title><![CDATA[Freemarker模板应用]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84263299</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84263299</guid><author>ansn002</author><pubDate>Mon, 23 Jul 2012 22:38:33 +0800</pubDate><description><![CDATA[

  FreeMarker是一个模板引擎，一个基于模板生成文本输出的通用工具，使用纯Java编写，模板用servlet提供的数据动态地生成 HTML，模板语言是强大的直观的，编译器速度快，输出接近静态HTML页面的速度。
 
一．Freemarker模板应用事例。1.创建模板文件，在/resource/template目录下建立freemarkerLocal.ftl文件。


Jav...]]></description><category></category></item><item><title><![CDATA[eclipse：Cannot create a server using the selected type]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84263291</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84263291</guid><author>ansn002</author><pubDate>Mon, 23 Jul 2012 22:20:35 +0800</pubDate><description><![CDATA[今天在公司写了点东西，然后到家里就用不了对应的server了，后来查了一下，原因如下：原文链接：http://blog.youkuaiyun.com/arthurzil/archive/2010/09/25/5904325.aspx在eclipse中安装tomcat服务器，报错&quot; Cannot create a server using the selected type &quot;.

原因：以前安装的tomca...]]></description><category></category></item><item><title><![CDATA[eclipse 环境下 FreeMarker 编辑器插件]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84243452</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84243452</guid><author>ansn002</author><pubDate>Tue, 03 Jul 2012 18:59:29 +0800</pubDate><description><![CDATA[转自：http://dotnet.aspx.cc/file/eclipse-MyEclipse-FreeMarker-IDE-Download.aspx，仅代学习
 
每次重装 MyEclipse或者 eclipse  都需要找半天。现在贴出来以备后用。
支持语法高亮,语法校验,代码提示的工具 freemark IDE(JBoss):http://download.jboss.org/jbo...]]></description><category></category></item><item><title><![CDATA[freemarket学习日志（持续更新）]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84243405</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84243405</guid><author>ansn002</author><pubDate>Tue, 03 Jul 2012 17:34:33 +0800</pubDate><description><![CDATA[实际工作中有用到就现学就卖哈
 

freemarker 截取指定长度的中文字符串

&amp;lt;#if post.title?length lt 25 &amp;gt;   ${post.title} &amp;lt;#else&amp;gt;      ${post.title[0..21]}... &amp;lt;/#if&amp;gt;注：${post.title[0..21]}取得标题的前22个字符，后面加上省略号......]]></description><category></category></item><item><title><![CDATA[有用的:nth-child秘方,结合起来做menu]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84241309</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84241309</guid><author>ansn002</author><pubDate>Thu, 28 Jun 2012 19:59:52 +0800</pubDate><description><![CDATA[转自：http://www.qianduan.net/useful-nth-child-recipies.html ，仅借学习
 
当我想要完美的使用:nth-child或者:nth-of-type的时候有点儿头晕。你越理解它们，就能写出越好的CSS规则！
在这些简单的”秘方”(实际上是表达式)中我将重复的使用一个简单的列表并随即选择数字。但是很明显很容易改变它们以获得类似的选择器。
只选...]]></description><category></category></item><item><title><![CDATA[freemarker常见语法大全]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84239308</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84239308</guid><author>ansn002</author><pubDate>Mon, 25 Jun 2012 10:33:07 +0800</pubDate><description><![CDATA[ 

转自：http://yangq.iteye.com/blog/1404520。
将修改并持续更新
FreeMarker的插值有如下两种类型:1,通用插值${expr};2,数字格式化插值:#{expr}或#{expr;format} 

${book.name?if_exists } //用于判断如果存在,就输出这个值 ${book.name?default(‘xxx’)}//默...]]></description><category></category></item><item><title><![CDATA[jstl fmt功能说明]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84228764</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84228764</guid><author>ansn002</author><pubDate>Tue, 05 Jun 2012 10:06:24 +0800</pubDate><description><![CDATA[转载自：http://www.cnblogs.com/cliffever/archive/2008/11/13/1333025.html，仅供学习
Tags   fmt:requestEncoding fmt:setLocale fmt:timeZone fmt:setTimeZone fmt:bundle fmt:setBundle fmt:message fmt:param fmt:form...]]></description><category></category></item><item><title><![CDATA[程序员必备的七大面向对象设计原则（一）]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84226394</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84226394</guid><author>ansn002</author><pubDate>Thu, 31 May 2012 12:19:36 +0800</pubDate><description><![CDATA[

转自：http://blog.youkuaiyun.com/qiulongtianshi/article/details/7570021，仅供学习
花絮
        每天都在和面向对象打交道，但是我们在应用面向对象的时候感觉自己的面向对象技术应用的很合理？理解的很到位？应用的很到位？用的时候恰到好处？用的是否符合软件的发展趋势？
        上面很多一连串的问题，没有把你搞晕吧！我想说的面...]]></description><category></category></item><item><title><![CDATA[mysql锁机制]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84224857</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84224857</guid><author>ansn002</author><pubDate>Mon, 28 May 2012 19:22:14 +0800</pubDate><description><![CDATA[

转自：http://thebye85.iteye.com/blog/1463546，仅借学习
MySQL有三种锁的级别：页级、表级、行级。MyISAM和MEMORY存储引擎采用的是表级锁（table-level locking）；BDB存储引擎采用的是页面锁（page-levellocking），但也支持表级锁；InnoDB存储引擎既支持行级锁（row-level locking），也支持...]]></description><category></category></item><item><title><![CDATA[关于oracle的行级锁]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84224856</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84224856</guid><author>ansn002</author><pubDate>Mon, 28 May 2012 19:17:13 +0800</pubDate><description><![CDATA[转发自：http://www.cnweblog.com/pudong/archive/2009/05/13/301554.html，仅供学习
在oracle中,行级锁只对用户正在访问的行进行锁定。 
如果该用户正在修改某行，那么其他用户就可以更新同一表中该行之外的数据。
行级锁是一种排他锁，防止其他事务修改此行，但是不会阻止读取此行的操作。
在使用INSERT、UPDATE、DELETE ...]]></description><category></category></item><item><title><![CDATA[Eclipse常用插件(持续更新中)更新地址]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84220849</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84220849</guid><author>ansn002</author><pubDate>Mon, 21 May 2012 08:31:51 +0800</pubDate><description><![CDATA[ 
SVN Client  http://subclipse.tigris.org/update_1.6.x   

 
TestNG  http://beust.com/eclipse 

 
Jetty http://run-jetty-run.googlecode.com/svn/trunk/updatesite 

 
MoreUnit http://moreunit....]]></description><category></category></item><item><title><![CDATA[Eclipse 3.7 安装svn插件]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84219776</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84219776</guid><author>ansn002</author><pubDate>Fri, 18 May 2012 08:25:18 +0800</pubDate><description><![CDATA[

eclipse3.7的svn插件的更新地址 
http://subclipse.tigris.org/update_1.6.x 
]]></description><category></category></item><item><title><![CDATA[创建JSP自定义标签]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84218621</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84218621</guid><author>ansn002</author><pubDate>Wed, 16 May 2012 09:32:02 +0800</pubDate><description><![CDATA[转自：http://ltc603.iteye.com/blog/70091，仅供学习
在JSP编程中，Struts一般用来处理form和业务逻辑，Struts中使用了很多自定义标签，如html、bean等，但很多时候我们还是需要使用 &quot;&amp;lt;% java code %&amp;gt;&quot; 这样的语句来操作一些输出。为了减少这种代码，可以创建自定义标签。      一个tag就是一个普通的java类，它唯...]]></description><category></category></item><item><title><![CDATA[Eclipse背景颜色和字体配置]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84216995</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84216995</guid><author>ansn002</author><pubDate>Sat, 12 May 2012 15:59:35 +0800</pubDate><description><![CDATA[操作界面默认颜色为白色。对于我们长期使用电脑编程的人来说，白色很刺激我们的眼睛，所以我经常会改变workspace的背景色，使眼睛舒服一些。设置方法如下： 1、打开window-&amp;amp;gt;Preference,弹出Preference面板 2、展开General标签，选中Editors选项，展开。 3、选中 Test Editors，右边出现Test Editors面板。 面板中有这样一个选...]]></description><category></category></item><item><title><![CDATA[Eclipse中运行Jetty]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84216991</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84216991</guid><author>ansn002</author><pubDate>Sat, 12 May 2012 15:43:06 +0800</pubDate><description><![CDATA[ 
Jetty有一个优点就是加载速度快，特别适合那些在开发过程没耐心等待容器缓慢加载的同学。在Eclipse中运行有若干个方法，我今天介绍的是通过Eclipse的Jetty插件来实现Jetty的启动。
安装
Jetty的插件安装地址是http://run-jetty-run.googlecode.com/svn/trunk/updatesite。安装过程很简单就不在说明了，还有一些有用的Ec...]]></description><category></category></item><item><title><![CDATA[验证码识别技术研究]]></title><link>https://blog.youkuaiyun.com/ansn002/article/details/84215225</link><guid>https://blog.youkuaiyun.com/ansn002/article/details/84215225</guid><author>ansn002</author><pubDate>Wed, 09 May 2012 10:09:39 +0800</pubDate><description><![CDATA[转载自：http://hi.baidu.com/mrcaptcha/blog/item/051ff527f3b25727d40742a0.html







 


一、验证码的基本知识枾e剉9ei?T 
&amp;amp;yuml;峇&amp;amp;Otilde;?Otilde;?RMb剉(gl?&amp;amp;yuml;}?q_N&amp;amp;y     1. 
验证码的主要目的是强制人机交互来抵御...]]></description><category></category></item></channel></rss>