摘要: package com.ibs.auth.controller; import java.io.UnsupportedEncodingException; import java.util.Date; import java.util.HashMap; import java.util.Iterat 阅读全文
posted @ 2015-01-22 15:10 贾小仙 阅读(505) 评论(0) 推荐(0) 编辑
摘要: package com.ibs.auth.controller; import java.security.MessageDigest; /** * 采用MD5加密解密 * @author tfq * @datetime 2011-10-13 */ public class Md5 { /*** * 阅读全文
posted @ 2015-01-22 12:17 贾小仙 阅读(172) 评论(0) 推荐(0) 编辑
摘要: //Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request // eg. /manage/editExam.d 阅读全文
posted @ 2015-01-22 11:25 贾小仙 阅读(4667) 评论(0) 推荐(0) 编辑
摘要: 在JSP里,获取客户端的IP地址的方法是:request.getRemoteAddr(),这种方法在大部分情况下都是有效的。但是在通过了Apache,Squid等反向代理软件就不能获取到客户端的真实IP地址了。 如果使用了反向代理软件,将http://192.168.1.110:2046/ 的URL 阅读全文
posted @ 2015-01-22 09:57 贾小仙 阅读(1193) 评论(0) 推荐(0) 编辑