- 博客(40)
- 收藏
- 关注
原创 Spring Security 3.x 完整入门教程
Spring Security 3.x 完整入门教程 本Blog所有内容不得随意转载,版权属于作者所有。如需转载请与作者联系( [email protected] QQ:9184314)。未经许可的转载,本人保留一切法律权益。一直以来,发现有某些人完全不尊重我的劳动成果,随意转载,提醒一下那些人小心哪天惹上官司。 Spring Security 3.x 出来一段时间了,跟Acegi是大不同了,...
2010-09-06 10:20:29 141
原创 setup.linux
yum -y install gccyum -y install gcc+ gcc-c++yum install pythonyum install python-dev yum install openssl openssl-develyum install libjpeg-devel freetype-devel libpng-devel bzip2-devel libxml2-devel...
2010-09-01 17:05:11 128
原创 Using Multi-lingual text in FusionCharts
http://www.fusioncharts.com/Docs/Contents/SpChar.html Using Multi-lingual text in FusionCharts FusionCharts allows you to use multi-lingual (UTF-8) characters on the charts....
2010-08-31 15:10:51 107
原创 Linux下创建与解压tar, tar.gz和tar.bz2文件及压缩率对比
Linux下创建与解压tar, tar.gz和tar.bz2文件及压缩率对比 发表: 2010年07月03日09:04 / 分类: 转载 / 浏览次数: 176 / 0个评论 发表评论 在Linux系统和服务器中,会非常频繁的用到解压命令。Linux下的压缩格式有zip、tar、和tar.bz2这几种。 目前Linux下 常见的压缩文件扩展名: *.Z compress程序压...
2010-08-30 15:48:53 148
原创 linux下编译安装php的参数
linux下编译安装php的参数 Fast-CGI:./configure --prefix=/usr/local/php --enable-fastcgi --enable-force-cgi-redirect --with-config-file-path=/etc --with-zlib --with-mysql --with-xml --with-gd --enable-gd-n...
2010-08-27 13:57:41 98
原创 MySQL+PHP5+Apache安装手记
http://database.51cto.com/art/201005/201368.htm MySQL+PHP5+Apache安装手记(Linux版本) http://database.51cto.com 2010-05-21 17:38 佚名 互联网 我要评论(1) 摘要:我们今天主要向大家描述的是在Linux操作系统之下对MySQL+PHP5+Apache安装手记的具体描述,以下就...
2010-08-27 13:45:38 106
原创 安装PHP
yum install g++ yum install gcc yum install make 安装python 开发组件 yum install python yum install python-dev 安装make yum install make make: *** No targets specifi...
2010-08-27 11:05:09 109
原创 安装mysql
先检查系统是否装上了mysql,如果有将其卸载掉rpm -qa | grep mysql注意mysql的大小写,大小写都有可能rpm -e --nodeps mysql*一定要用--nodeps卸载,不检查依赖性关系。 创建用户mysqlgroupadd mysqluseradd -g mysql mysqlpasswd mysql 在/usr/local下建立 mysql 文件夹然后将安装文...
2010-08-27 10:38:45 91
原创 rpm
rpm -qpl xxxxxx.rpm 1.如何安装rpm软件包 rmp软件包的安装可以使用程序rpm来完成。执行下面的命令 rpm -i your-package.rpm 其中your-package.rpm是你要安装的rpm包的文件名,一般置于当前目录下。 安装过程中可能出现下面的警告或者提示: ... conflict with ... 可能是要安装的包里有一些文件可能会覆盖现有 的文...
2010-08-27 10:22:31 230
原创 linux下编译安装php的参数汇总
Fast-CGI:./configure --prefix=/usr/local/php --enable-fastcgi --enable-force-cgi-redirect --with-config-file-path=/etc --with-zlib --with-mysql --with-xml --with-gd --enable-gd-native-ttf --enable-gd-...
2010-08-27 10:08:08 114
原创 iptables用法
iptables -A INPUT -p tcp --dport 22 -j ACCEPT iptables -F 02 # 允许包从22端口进入 03 iptables -A INPUT -p tcp --dport 22 -j ACCEPT 04 # 允许从22端口进入的包返回 05 iptables -A O...
2010-08-27 09:32:25 66
原创 linux的chmod,chown命令 详解
指令名称 : chmod 使用权限 : 所有使用者 使用方式 : chmod [-cfvR] [--help] [--version] mode file... 说明 : Linux/Unix 的档案存取权限分为三级 : 档案拥有者、群组、其他。利用 chmod 可以藉以控制档案如何被他人所存取。 mode : 权限设定字串,格式如下 : [ugoa...][[+-=][rwxX]...][,.....
2010-08-26 16:38:25 86
原创 Install and Configure MySQL on Linux
wget http://mirrors.sohu.com/mysql/MySQL-6.0/MySQL-server-6.0.10-0.glibc23.i386.rpmwget http://mirrors.sohu.com/mysql/MySQL-6.0/MySQL-client-6.0.10-0.glibc23.i386.rpmwget http://mirrors.sohu.com/apa...
2010-08-26 16:35:28 129
原创 mysql
1、数据库目录 /var/lib/mysql/ 2、配置文件 /usr/share/mysql(mysql.server命令及配置文件) 3、相关命令 /usr/bin(mysqladmin mysqldump等命令) 4、启动脚本 /etc/rc.d/init.d/(启动脚本文件mysql的目录) 五、修改登录密码 MySQL默认没有密码,安装完毕增加...
2010-08-26 14:21:35 56
Java中根据模板导出数据到word的解决方案
我们需求如下:给你一个模板,里面有一个表格,标题已经给好,程序主要就是完成把数据填写到word中并提供给用户下载。 网上找了很久,发现主要两种开源包:POI和Jacob,Jacob首先被否决掉了,因为他最后必须运行在windows平台上。Excel导入导出我就是用的POI,但是POI中的word操作实在不行,读取还可以,写入数据远不能满足项目的需要。后面尝试诸如生成PDF然后转Wor...
2010-02-25 10:06:07 343
SQL树查询
引用: --测试数据 深度排序 DECLARE @t TABLE(ID char(3),PID char(3),Name nvarchar(10)) INSERT @t SELECT '001',NULL ,'山东省' UNION ALL SELECT '002','001','烟台市' UNION ...
2010-02-24 17:36:47 112
基于java的程序OutOfMemory问题的解决及Xms/Xmx/Xss的解释和应用
长期以来一直都是做java应用的开发,所使用的开发工具基本上也都是基于java的,经常用的有eclipse, netbeans, ant, maven, cruisecontrol, tomcat, findbugs等。在使用这些工具的时候,有时候会碰到OutOfMemory的问题。 问题 ---------------------------------------------------...
2010-02-24 16:44:47 94
老外的lovcombo 使用注意点
{ xtype : 'lovcombo', fieldLabel : '通知到达人与新生儿关系', width : 250, store:dstorehr02_18_001, name : 'hr02_18_001', valueField : "code", displayField : "name", mode : 'loca...
2009-10-13 17:07:31 264
原创 XTemplate
XTemplate是Extjs里面的模板组件. 下面我们看个最简单的例子. 效果图: js代码: <!-- Code highlighting produced by Actipro CodeHighlighter (freeware) -->Ext.onReady(function(){ //数据源 var data={ name:"博客园", ...
2009-09-27 15:14:10 161
fckedit
http://www.blogjava.net/chengang/archive/2007/08/25/139287.html <noscript type="text/javascript"></noscript> Download and extract the tar in your plugins directory Run ‘rake fckedit...
2009-01-13 13:01:50 87
login_engine
http://svn.rails-engines.org/plugins/login_engine/README = Before we start This is a Rails Engine version of the Salted Login Generator, a most excellent login system which is sufficient for most...
2009-01-13 11:10:08 338
attachment_fu plug
Microsoft Windows XP [版本 5.1.2600] (C) 版权所有 1985-2001 Microsoft Corp. C:\Documents and Settings\sunchaohui>cd D:\radrails-0.7.2-win32\workspace\mm C:\Documents and Settings\sunchaohui>d: D:\r...
2009-01-07 12:06:09 107
安装action_mailer_tls
ruby script/plugin install http://svn.xlsuite.org/trunk/vendor/plugins/action_mailer_tls/ http://code.openrain.com/rails/action_mailer_tls
2009-01-06 18:14:53 116
日志:get_tree 方法加强快照,十分注意",:method=>:get参数
module DepartmentsHelper def get_tree(trees, parent) tree_html = ""; trees.each do |tree| if tree.is_root? tree_html += "var tree_#{tree.id} = new WebFXTreeItem('#{tree.name}',...
2008-12-26 14:10:40 158
日志:plugin discover终于能够plugin install 了啊,小东西还是挺有用的
D:\radrails-0.7.2-win32\workspace\cms>ruby script\plugin discoverAdd http://www.agilewebdevelopment.com/plugins/? [Y/n] yAdd svn://rubyforge.org/var/svn/expressica/plugins/? [Y/n] yAdd http://soen....
2008-12-25 14:38:16 127
ImageMagick + fleximage
参考: http://rmagick.rubyforge.org/install-faq.html How do I install RMagick on Microsoft Windows? Use the rmagick-win32 gem. This gem is bundled with a a copy of the ImageMagick Windows installer so yo...
2008-12-23 17:33:55 78
原创 rails2.2.2安装分页Log
D:\radrails-0.7.2-win32\workspace\cms>ruby script/plugin install git://github.com/mislav/will_paginate.git D:\radrails-0.7.2-win32\workspace\cms>gem sources -a http://gems.github.comhttp://gem...
2008-12-17 15:17:08 69
原创 rake rails:freeze
Ruby on Rails允许你”冻结”你的应用使用的Rails版本。当你冻结Rails时,你的应用将会一直使用冻结的版本,并且和Ruby Gems相关联,与当前服务器上跑的Rails版本无关。你可以将应用冻结到你想要的版本。 当你的Rails程序用在商业站点或其它对稳定性要求较高的生产环境时,冻结你的Rails版本是推荐使用的。(如果你不冻结的话,你的Rails应用可能因版本升级后的兼容性问题而...
2008-11-10 10:09:12 103
js-site
个简单的API搜索,希望能对你的开发有些益处. 这个系列文章暂时是九篇: 起步 :http://www.cnblogs.com/Hafeyang/archive/2007/09/12/SciptAculoUs_1_GetStarted.html Effect相关的API:http://www.cnblogs.com/Hafeyang/archive/2007/09/13/EffectsAPI...
2008-11-08 15:14:44 308
原创 http://hi.baidu.com/shirdrn/blog/category/Lucene
http://hi.baidu.com/shirdrn/blog/category/Lucene
2008-10-31 16:22:40 96
eclipse插件备案
http://propedit.sourceforge.jp/eclipse/updates/ http://updatesite.rubypeople.org/release http://radrails.sourceforge.net/update http://www.collab.net/(sunvhaohui_1982,123456)
2008-10-31 13:37:28 65
OracleClient安装
!大辉 15:22:59 解压了我再跟你说的呀 !大辉 15:23:29 在解压目录下面建立文件夹 \network\admin !大辉 15:23:56 然后 建一个文本文件 !大辉 15:24:10 文件的内容 是 : !大辉 15:24:11 XE = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS...
2008-07-31 15:31:50 123
如何使用spring的作用域:
如何使用spring的作用域: 这里的scope就是用来配置spring bean的作用域,它标识bean的作用域。 在spring2.0之前bean只有2种作用域即:singleton(单例)、non-singleton(也称prototype), Spring2.0以后,增加了session、request、global session三种专用于Web应用程序上下文的Bean。因此,默...
2008-06-20 15:59:54 122
11.4 持久层设计
章节试读·支持作者从购买正版开始 『 阅读首页 』 作者、书名、出版社 关键字: 第11章 Spring 2.0实战:Live在线书店(节选) 11.4 持久层设计 上一页 返回书目 比价购买 下一页 11.4 持久层设计 在第5章中,我们已经初步介绍了Hibernate这个功能强大的ORM框架,Live在线书店仍然...
2008-06-18 16:32:50 118
Struts2 Map 映射
最近写了一段JSP,目的是想完成一段关系映射,选用了Map,如下。 [code="java"] [/code] 但是奇怪的是,当reMap的key([%{#item.acUniqueId}])太长的时候,Map就莫名其妙的错了。譬如有reMap[1234567890]=6就不能映射了,而reMap[1234]=4就可以。有那位能够解答一下呢? ...
2008-05-11 11:50:06 173
http://unique5945.javaeye.com/blog/125924
http://unique5945.iteye.com/blog/125924
2008-04-09 16:00:10 68
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人