随笔分类 -  java web

Java ClassLoader and Context ClassLoader
摘要: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 阅读(1190) 评论(1) 推荐(0)
find flow scope varibles in spring web flow
摘要: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 阅读(814) 评论(0) 推荐(0)
ssl 服务器证书,客户端信任证书
摘要: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 阅读(3064) 评论(0) 推荐(0)
相对路径与绝对路径
摘要: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 阅读(384) 评论(1) 推荐(0)