自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

一亩三分地

ITSM的研究与实践;J2EE;电信行业系统分析;数据挖掘

  • 博客(54)
  • 收藏
  • 关注

原创 hibernate search

Full Text Hibernate Lucene Search Hello World Example Using Maven and SQLite17,746 viewsBy Abhijit Ghosh on 2012-7-26 14:22:26 <iframe id="aswift_0" style="left: 0px; position:...

2013-09-06 19:37:03 2119

原创 计算机组成与体系结构(一)

一.计算机组成与分类1.计算机主要由六部分组成的:控制器、运算器、内存储器、外存储器、输入设备及输出设备2.计算机的分类:单指令流单数据流(SISD)、单指令流多数据流(SIMD)、多指令流单数据流(MISD)及多指令流多数据流(MIMD).二.多级存储器体系

2011-09-05 23:52:59 557

原创 计算机组成与体系结构

2011-09-04 23:10:06 496

转载 豆瓣的架构—专访豆瓣网站的技术总监洪强宁

  “你要是愿意,就买一枝三块钱的玫瑰,送给我吧,这城市也是怪让人伤心的,我想死心塌地的爱上你”   这是一个叫钟童茜的歌手的歌,我在豆瓣网站发现有人评论,才知道了这首有些凄凉的歌曲。你几乎不可能从百度的最流行的mp3的列表中找到它,因为它不是那么有名,也许是这个原因,引发了我采访豆瓣的愿望。接受我采访的是,豆瓣网站的技术总监洪强宁先生和产品经理张贝宁女士。本刊记者:好,现在开始,豆瓣是一个非

2009-01-09 10:28:00 1600

原创 Ruby on Rails Routing - Simple Examples

This article contains a list of ruby on rails routing examples. If you find you have any questions please leave a comment.Routes are processed from the top of routes.rb down. If a route is matched...

2008-12-15 16:44:49 102

Routes

routes:routes的命名允许你减少重复的代码,通过分配一个根据生成一个封装routes rule hash的方法的路径规则名称来实现,你可以定义一个命名路径,你可以调用它在你的routes.rb文件中来代替connect方法.例如:[code="java"]map.home '',:controller=>'main',:action=>'start'[/code]这只...

2008-12-15 16:43:42 438

原创 数据结构java的实现

转自:http://bea.iteye.com/blog/166347不知道为什么copy下来发布不完整.1 树与哈夫曼树 Java代码 package tree; public class TreeNode { TreeNode llink; TreeNode rlink; ...

2008-07-17 15:14:22 90

原创 数据结构java的实现

1 树与哈夫曼树 Java代码 package tree; public class TreeNode { TreeNode llink; TreeNode rlink; int info; } package tree; public class Tree { ...

2008-07-17 15:13:09 102

原创 ubuntu常用命令

df (Disk Free) i接点 df -i (Inodes) ls (List) ls -al (-l 以long format格式显示 -a All) cd (Change Directory) cp cp -ax -a(archive 复制所有的目录) -x(复制后的格式与目标目录的格式是相同***发生了转化) mv (move) ...

2008-07-17 14:43:08 98

ubuntu安装注意事项

1。安装前最好连上网,遇到的问题是安装中文出现问题。有些东西安装不上。2。安装jdk:第二步开始安装,安装JDK6 代码: sudo chmod +x jdk-6-linux-i586.bin         sudo ./jdk-6-linux-i58...

2008-07-10 17:54:11 101

原创 ubuntu安装注意事项

1。安装前最好连上网,遇到的问题是安装中文出现问题。有些东西安装不上。2。安装jdk:第二步开始安装,安装JDK6 代码: sudo chmod +x jdk-6-linux-i586.bin         sudo ./jdk-6-linux-i58

2008-07-10 17:54:00 951

原创 Ubuntu 8.04下编译安装Ruby-1.8.6-p114[转载]

环境:Ubuntu8.04 1.安装build工具 sudo aptitude install build-essential linux-headers-$(uname -r) 2.安装readline zlib libncurses5 apt-get install zlib1g-dev apt-get install libreadline5 libreadline5-dev apt-get

2008-07-10 09:14:00 405

Ubuntu 8.04下编译安装Ruby-1.8.6-p114[转载]

环境:Ubuntu8.04 1.安装build工具 sudo aptitude install build-essential linux-headers-$(uname -r) 2.安装readline zlib libncurses5 apt-get install zlib1g-dev apt-get install libreadline5 libreadline5-dev apt-get...

2008-07-10 09:13:46 121

原创 webwork与ajax的疑问

1.jsp页面:            id="twoseconds"            cssStyle="border: 1px solid yellow;"            href="/AjaxTest.action"            theme="ajax"            updateFreq="2000"            errorText="Ther

2008-01-17 00:18:00 658

webwork与ajax的疑问

1.jsp页面:<ww:div            id="twoseconds"            cssStyle="border: 1px solid yellow;"            href="/AjaxTest.action"            theme="ajax"            updateFreq="2000"            errorT..

2008-01-17 00:18:00 126

原创 数据源+freemarker+servlet生成xml文件

一.步骤:1.在server.xml文件中建立数据源.Service name="Cms">     Connector debug="0" enableLookups="false" port="8084" protocol="AJP/1.3" redirectPort="8443"/>    Connector acceptCount="100" connectionTimeout

2007-11-17 10:46:00 1131

数据源+freemarker+servlet生成xml文件

一.步骤:1.在server.xml文件中建立数据源.<Service name="Cms">     <Connector debug="0" enableLookups="false" port="8084" protocol="AJP/1.3" redirectPort="8443"/>    <Connec

2007-11-17 10:46:00 83

原创 struts学习之form表单, 配置文件action对应关系。

        /convertCal.jsp          /locale/showProduct.jsp    /locale/AddProduct.jsp     文件路径:web/locale下。 这些问题一直很困惑,今天记录一下。命名空间必须要加“/” 

2007-11-01 16:03:00 723

struts学习之form表单, 配置文件action对应关系。

<s:form action="addProduct" theme="simple"> <package name="convertDemo" extends="struts-default" namespace="/locale">   <action name="convertLocal" class="l

2007-11-01 16:03:00 363

原创 struts2初步配置

if struts2-spring-plugin-2.0.9.jar is in lib ,we must config the web.xml and application.xml. The flowing is the simple test code.HelloWorld.java:package example;import com.opensymphony.xwor

2007-10-27 13:48:00 567

struts2初步配置

if struts2-spring-plugin-2.0.9.jar is in lib ,we must config the web.xml and application.xml. The flowing is the simple test code.HelloWorld.java:package example;import com.opensymphony.xwork2.Ac...

2007-10-27 13:48:00 63

原创 struts标签循环示例

                                >                                                                                                                                                                 在ac

2007-10-27 13:42:00 1831

struts标签循环示例

<s:iterator value="bookList">        <tr class="trs">            <td>            <a href='<s:url action="edit" ><s:param name="bookId" value=&quot

2007-10-27 13:42:00 127

转载 struts2与spring结合

转载于在webwork的文章1 配置struts.properties文件,指定spring作为struts的IoC容器struts.objectFactory = spring(1)默认的autowiring模式是:by name即如果applicationContext.xml文件中的bean id与struts.xml文件中的action name相同,就(2)如果要改为其他模式:str

2007-10-19 15:05:00 1121

struts2与spring结合

转载于在webwork的文章1 配置struts.properties文件,指定spring作为struts的IoC容器struts.objectFactory = spring(1)默认的autowiring模式是:by name即如果applicationContext.xml文件中的bean id与struts.xml文件中的action name相同,就(2)如果要改为其他模式:stru...

2007-10-19 15:05:00 56

原创 struts2错误初步2

当把struts2下所有的包放在lib下,启动时的确会报错(啥错给忘了),最好是用到什么包自己加什么包,我最常用ssh所以~~~,一下错误经验分享一下。1。没有加入spring包以前,只加入了struts2-spring-plugin-2.0.6.jar  2007-3-21 17:37:29 org.apache.catalina.core.StandardContext filterSta

2007-10-19 15:03:00 5126

原创 struts2.0在action里获得servlet对象方法

1。 Struts 2.0中com.opensymphony.xwork2.ActionContext类。我们可以通过它的静态方法getContext()获取当前Action的上下文对象。 另外,org.apache.struts2.ServletActionContext作为辅助类(Helper Class),可以帮助您快捷地获得这几个对象。 o                     

2007-10-19 15:02:00 1045

原创 Hibernate的20个问题

1问:Hibernate初始化时总是报错:java.lang.NoClassDefFoundErrorHibernate初始化时出现出错代码:java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException答:这是新手常见问题。是因为使用默认设置时,Hibernate文档里指出的Hibernate库不完整,缺少ehcache.j

2007-10-07 09:51:00 743

原创 ubuntu 下ruby 的安装

准备: sudo apt-get install build-essential sudo apt-get install gcc sudo apt-get install g++ sudo apt-get install libssl0.9.8 sudo apt-get install libssl0.9.8-dbg sudo apt-get install

2007-09-05 08:07:00 880

原创 开机的时候如果出现提示$home/.dmrc无法写入 问题解决方法

好长时间以来一直出现开机的时候如果出现提示$home/.dmrc无法写入,权限应为644之类的情况,没法解决,现在终于找到资料,写在这里。开机的时候如果出现提示$home/.dmrc无法写入,权限应为644之类的情况,请用以下方法解决:(我的home文件夹为latteye) 代码:

2007-09-04 15:55:00 1575

原创 ftp服务器

pt-get install vsftpd或者apt-get install proftpd或者apt-get install pureftpd 参考下文:设置vsftpd*********************************************************发信人: alabaster(春天来了), 信区: Linux标  题: debi

2007-09-04 14:37:00 660

原创 ubuntu 下mysql 有关的

本文详细介绍Ubuntu下MySQL数据库安装后初步设置。   1、安装MySQL 这个应该很简单了,而且我觉得大家在安装方面也没什么太大问题,所以也就不多说了,下面我们来讲讲配置。   2、配置MySQL 注意,在Ubuntu下MySQL缺省是只允许本地访问的,如果你要其他机器也能够访问的话,那么需要改变/etc/mysql/my.cnf配置文件了!   默认的MySQL安装之

2007-09-03 09:47:00 615

原创 ubuntu安装

1:xp,ubuntu双系统安装 如果是硬盘安装,请参考blog(blog.csdn.net/djsl6071/archive/2007/04/28/1588313.aspx ),写得很详细,为了省事,直接把引导文件放在C盘(FAT),当然你还得留出一块空白分区给ubuntu使用,这里就不多说了,注意在开机时按C进入grub时输入命令的形式,第一次接触grub开了点儿玩笑,请检查gr

2007-09-01 09:54:00 693

原创 Ubuntu一些很必要的命令

安装 查看软件xxx安装内容 dpkg -L xxx 查找软件 apt-cache search 正则表达式 查找文件属于哪个包 dpkg -S filename apt-file search filename 查询软件xxx依赖哪些包 apt-cache depends xxx 查询软件xxx被哪些包依赖 apt-cache rde

2007-09-01 08:50:00 585

原创 ununtu 安装scim中文输入法

新光盘安装了ubuntu 7.04, 选择了中文环境后发现还是不能输入中文。先安装#sudo apt-get install scim scim-chinese  scim-gtk2-immodule scim-tables-zh 没什么效果。后来从网上找到一个成功的方法.解决方案如下: 在 系统->系统管理->语言支持 里选择 Chinese 并且把默认的选项也选为Chinese 。 如

2007-09-01 08:03:00 930

原创 linux下的软件环境

开发Rails我原来在Windows下用RadRails,后来改用VIM,VIM的功能要比RadRails强。如果你是做JAVA开发,还是用Eclipse好,Eclipse的重构功能实在太强。 CVS本来就是从Linux下来的,不用说什么了。在用VIM后,我开始用命令行来操作CVS,初期感觉比较难受。 JDK用基于LINUX的版本,也可以直接用apt-get来安

2007-08-29 09:45:00 750

原创 安装sql server2005 dev版遇到的问题

1.winxp的版本要是sp2.2.新装的机子上必须装上windows staller.3.TCP/IP默认是禁用的,必须打开,否则提示CONNECT REFUSE. 

2007-08-28 09:00:00 438

原创 spring的listener出了问题。

今天做一个东西遇到问题.  org.springframework.web.context.ContextLoaderServletjava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServlet at org.apache.catalina.loader.WebappClassLo

2007-08-28 08:59:00 951

原创 由于加了spring.jar包,

2007-3-30 13:34:05 org.apache.catalina.core.StandardContext start严重: Error listenerStart2007-3-30 13:34:05 org.apache.catalina.core.StandardContext start严重: Context startup failed due to previous erro

2007-08-28 08:57:00 542

原创 Error creating bean with name 'sessionFactory' defined in ServletContext resource

2007-03-31 22:58:26 StandardContext[/bookstore]Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.

2007-08-28 08:56:00 12337

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除