<%@ page import="java.net.URLDecoder" %> <%@ page import="com.manage.encrypt.Base64" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ include file="/WEB-INF/jspf/common.jspf" %> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String password=""; String userName=""; String checked=""; Cookie[] cookies = request.getCookies(); //取出cookie对象组 for(int i = 0; cookies != null && i < cookies.length;i++){ Cookie cookie = cookies[i]; // 取出其中的一个对象,含有name ,value if(cookie != null && "name".equals(cookie.getName())){ //获取第一个cookie对象的name userName = URLDecoder.decode(cookie.getValue(), "UTF-8");//进行解码 checked = "checked"; } if(cookie != null && "password".equals(cookie.getName())){ password = cookie.getValue(); password = Base64.decodeBase64(password); } } %> 嘉时软件
账号登录
用户名
用户密码
记住密码
立即登录
技术支持:厦门嘉时软件科技有限公司
Copyright © 2019-2090 厦门嘉时软件. All rights reserved.