- 博客(15)
- 资源 (6)
- 收藏
- 关注
原创 Lucene学习
近来项目需要使用Lucene,工作之余上网学习了下相关内容,做个笔记1.创建索引 步骤:创建IndexWriterJava代码 IndexWriter writer = new IndexWriter( new NIOFSDirectory(new File(path)), new StandardAnalyzer( ...
2011-09-27 09:18:47 101
原创 用 jcaptcha 自定义验证码
用 jcaptcha 自定义验证码import com.octo.captcha.service.captchastore.FastHashMapCaptchaStore;import com.octo.captcha.service.image.DefaultManageableImageCaptchaService;import com.octo.captcha.service...
2010-05-08 11:02:15 138
原创 spring有三种启动方式,使用ContextLoaderServlet,ContextLoader
spring有三种启动方式,使用ContextLoaderServlet,ContextLoaderListener和ContextLoaderPlugIn.看一下ContextLoaderListener的源码,这是一个ServletContextListener/** * Initialize the root web application context. */...
2009-02-17 17:29:03 206
原创 Spring2.5与Spring2.0版本改变(学习.载要.为迁徙到Spring2.5做准备)
http://hi.baidu.com/grace_king/blog/item/9179c9b42b2ad0708bd4b2ab.html才开始学习.看到就记录一下.如有版权问题请联系我删除Spring2.5rc1发布了,一直想知道它葫芦里卖什么药,以下是文档里的change.log1. JDK版本: JDK至少要1.4.2以上,如果仍然打算使用1.3的话就请用2.0.6/2...
2009-02-17 11:07:34 136
原创 jQuery为开发插件
jQuery为开发插件提拱了两个方法,分别是: 1. jQuery.fn.extend(object); 【对jQuery对象的扩展】包装器方法例子:(function($){$.fn.makeItBlue = function() {return this.css('color','blue');}})(jQuery);在这里, this代表的是包装集。...
2009-01-08 10:11:41 96
原创 classpath*
0,There is special support for retrieving multiple class path resources with the same name, via the "classpath*" prefix. For example, "classpath*:/beans.xml" will find all beans.xml files in the cla...
2009-01-06 14:44:40 89
jacob使用入门(转)
首先,大家先要了解一下jacob ,官方的解释是Java COM Bridge,即java和com组件间的桥梁(进一步了解com/dcom: http://docs.huihoo.com/com/)com一般表现为dll或exe等二进制文件,像我们呆会会用到的jacob.dll文件这里说说为什么我们用java去操纵office(如:word)要使用com,而不直接使用java去做?...
2008-05-21 15:27:46 181
servlet监听参考范例
package com.nstars.common.web.listener;import javax.servlet.ServletContext;import javax.servlet.ServletContextEvent;import javax.servlet.ServletContextListener;import org.apache.commons.lo...
2008-05-20 19:58:59 104
servlet监听器简介(转)
概述:Servlet监听器用于监听一些重要事件的发生,监听器对象可以在事情发生前、发生后可以做一些必要的处理。接口:目前Servlet2.4和JSP2.0总共有8个监听器接口和6个Event类,其中HttpSessionAttributeListener与HttpSessionBindingListener皆使用HttpSessionBindingEvent;HttpSession...
2008-05-20 19:26:19 92
HP康柏3414笔记本VISTA操作系统改成XP操作系统(转)
1、在安装XP前,请这样操作:开机按f10进bios,在system configuration中将sata native support改成disable,然后再来安装操作系统。 2、驱动: 请注意: 1-请不要使用下载工具下载驱动,建议右键点击---另存为来下载,如果您一定要使用软件来下载,请您一定要使用单线程下载。 2-请按照列表的顺...
2008-05-19 10:59:02 251
Spring的web配置
2008-11-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人