2017年2月28日

filter防盗链

摘要: 1这次练习中一直受到相对路径的干扰,现在澄清一点 forward中不是不需要包含根目录的 比如 http://localhost:8080/filter/upload/images/no.jpg 你只要写到 (/upload/images/no.jpg)就好 而在html中是需要根目录的 2根据re 阅读全文

posted @ 2017-02-28 17:19 Kooing 阅读(399) 评论(0) 推荐(0) 编辑

session

摘要: 1,session保存在操作方便,保存在服务器,同样需要setCharacterSet(“UTF—8”) <%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@ page import="kooing.People" 阅读全文

posted @ 2017-02-28 09:04 Kooing 阅读(199) 评论(0) 推荐(0) 编辑

导航