摘要:
1 cookie存取: 2 存: Cookie cookie = new Cookie("title",URLEncoder.encode("标题","utf-8")) 3 cookie.setMaxAge(365 * 24 * 60 * 60); 4 res... 阅读全文
摘要:
user 1 public class User implements Serializable{ 2 private String username; 3 private String nick; 4 private String password; 5 publi... 阅读全文
摘要:
1 public static String encode(String str) 2 { 3 String code=null; 4 try { 5 MessageDigest digest=MessageDigest.ge... 阅读全文
摘要:
jsp页面中 FileItem的用法http://blog.csdn.net/smallhorn/article/details/7864658 1.boolean isFormField()。isFormField方法用来判断FileItem对象里面封装的数据是一个普通文本表单字段,还是... 阅读全文