2012年2月15日
摘要: Java ClassLoader and Context ClassLoader Class loading can be a difficult subject in Java. Mostly it happens automatically. But when it doesn't and the programmer has to select the correct class loader it's easy to be confused. There are basically four choices. Use the system class loader.U. 阅读全文
posted @ 2012-02-15 07:05 sunliho 阅读(1182) 评论(1) 推荐(0) 编辑
  2011年10月12日
摘要: import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import org.springframework.webflow.context.ExternalContext;import org.springframework.webflow.context.ExternalContextHolder;import org.springframework.webflow.context.servlet.ServletExternalContext;import org. 阅读全文
posted @ 2011-10-12 02:29 sunliho 阅读(801) 评论(0) 推荐(0) 编辑
  2011年7月20日
摘要: Introduction: WebSynergy or Sun GlassFish Web Space Server is built on top of Liferay. The first release of WebSynergy will be built on Liferay 5.2.0. This page describes how you can checkout the source and build the core from open soruce. Step 1: Install Apache Tomcat Download Apache Tomcat (6.0.18 阅读全文
posted @ 2011-07-20 00:45 sunliho 阅读(345) 评论(0) 推荐(0) 编辑
摘要: When should you use a debugger during development? At ALL times! At least that's my view. Isn't that a hassle? Well debugging sure can be, but if you setup your environment in a specific way, it can actually become very fast and almost transaprent. I like transparent! Here are steps I take t 阅读全文
posted @ 2011-07-20 00:43 sunliho 阅读(328) 评论(0) 推荐(0) 编辑
  2010年9月12日
摘要: Secure Socket Layer (SSL) technology allows web browsers and web servers to communicate over a secure connection. In this secure connection, the data that is being sent is encrypted before being sent ... 阅读全文
posted @ 2010-09-12 21:59 sunliho 阅读(2990) 评论(0) 推荐(0) 编辑
  2010年9月6日
摘要: 1.基本概念的理解   绝对路径:绝对路径就是你的主页上的文件或目录在硬盘上真正的路径,(URL和物理路径)例如: C:\xyz\test.txt 代表了test.txt文件的绝对路径。http://www.sun.com/index.htm也代表了一个 URL绝对路径。   相对路径:相对与某个基准目录的路径。包含Web的相对路径(HTML中的相对目录),例如:在 Servlet中,"/"代表W... 阅读全文
posted @ 2010-09-06 09:51 sunliho 阅读(372) 评论(1) 推荐(0) 编辑
  2010年9月3日
摘要: 连接数据库: connect to [数据库名] user [操作用户名] using [密码] 创建缓冲池(8K): create bufferpool ibmdefault8k IMMEDIATE SIZE 5000 PAGESIZE 8 K ;创建缓冲池(16K)(OA_DIVERTASKRECORD): create bufferpool ibmdefault16k IMMEDIATE S... 阅读全文
posted @ 2010-09-03 06:25 sunliho 阅读(1164) 评论(0) 推荐(0) 编辑
  2010年8月29日
摘要: 标准SQL语句总结,标准SQL语言基本上适用于下面所列出的数据库软件 ----------------------------------------------------------------------------- 数据库软件清单 A商业数据库软件如下 1.微软的MS SQL Server和Access 2.IBM的DB2,informax 3.Sybase的大型数据库ASE,中小型数据... 阅读全文
posted @ 2010-08-29 22:19 sunliho 阅读(2605) 评论(0) 推荐(0) 编辑
  2010年8月28日
摘要: 一 、首先准备好相关的安装包,我这里使用的是下列的几个包Apr : apr-1.2.11.tar.gz 和 apr-util-1.2.2.tar.gzApache : httpd-2.2.6.tar.gzSubversion: subversion-1.6.12.tar.gz 和 subversion-deps-1.6.0.tar.gz注意:在安装过程中可能会提示需要安装其他的包,根据具体的情况来... 阅读全文
posted @ 2010-08-28 11:55 sunliho 阅读(828) 评论(0) 推荐(1) 编辑
摘要: 修改ip地址即时生效:# ifconfig eth0 192.168.1.102 netmask 255.255.255.0启动生效:修改/etc/sysconfig/network-scripts/ifcfg-eth0加入IPADDR=192.168.1.102NETMASK=255.255.255.0修改default gateway即时生效:# route add default gw 19... 阅读全文
posted @ 2010-08-28 09:33 sunliho 阅读(259) 评论(0) 推荐(0) 编辑