- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 background图片居中
[code="html"]background: url("../images/my.jpg") no-repeat fixed center top transparent[/code]
2012-12-28 15:58:15 325
原创 servlet中绑定spring bean
[code="java"]public void init(ServletConfig config) throws ServletException { super.init(config); SpringBeanAutowiringSupport.processInjectionBasedOnServletContext(this, config.getServletC...
2012-12-21 14:31:06 81
原创 js 捕捉键盘事件 兼容ie6
[code="html"][/code][code="js"]var msg = document.getElementById("msg"),userAgent = navigator.userAgent,rMsie = /.*(msie) ([\w.]+).*/,isIE = false;if(rMsie.exec(userAgent.toLowerCase())!=n...
2012-12-11 22:24:18 119
原创 eclipse下批量修改字符编码
Windows -> Preferences -> General -> Content Types在右边的窗口中点击"text"选择 JSP -> Default Encoding 就能修改jsp文件的编码了,改完点update就能让工作目录下所有的jsp文件的编码生效。其他格式的文件,依次类推。...
2012-12-11 15:10:09 186
原创 Nginx 非 root 用户下启动 HTTP 80 端口
chown root:root nginx chmod 755 nginx chmod u+s nginx
2012-12-09 21:52:40 542
原创 configure: error: could not determine flags for linking embedded Perl.
解决:yum install perl-ExtUtils-Embed
2012-12-09 14:30:02 1614
原创 centos安装pcre
在安装 pcre-8.30 的时候出现错误,如下: CCLD libpcreposix.la CXX pcrecpp.lolibtool: compile: unrecognized option `-DHAVE_CONFIG_H'libtool: compile: Try `libtool --help' for more information.make[1...
2012-12-09 13:37:27 915
原创 centos6.2 yum install报错kernel-2.6.32-220.13.1.el6.x86_64 has missing requires...
centos6.2上执行yum install gcc报错:kernel-2.6.32-220.13.1.el6.x86_64 has missing requires of kernel-firmware >= ('0', '2.6.32', '220.13.1.el6')解决方法:# vi /etc/yum.conf 注释此项即可“#exclude=kernel*”此参...
2012-12-09 13:12:09 432
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人