亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

為什么我最初的時候是個東西?不是空的?

http://img1.sycdn.imooc.com//594681e900015bec04030213.jpg

<%@ page language="java" contentType="text/html; charset=utf-8"

? ? pageEncoding="utf-8"%>

<%@ page import="java.net.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Insert title here</title>

</head>

<body>

<%

request.setCharacterEncoding("utf-8");


String username="";

String password="";

Cookie[] cookies=request.getCookies();

if(cookies!=null&&cookies.length>0){

for(Cookie c:cookies){

if(c.getName().equals("username")){

username=URLDecoder.decode(c.getValue(),"utf-8");

}

if(c.getName().equals("password")){

password=c.getValue();password=URLDecoder.decode(c.getValue(),"utf-8");

}

}

}

%>

<form action="loginOn.jsp" method="post" name="form">

<table>

<tr>

<td>User:

</td>

<td><input name="username" type="text" value="<%=username %>>" />

</td>

</tr>

<tr>

<td>Password:

</td>

<td><input name="password" type="password" value="<%=password %>>" />

</td>

</tr>

<tr>

<td colspan="2" ><input name="isUseCookie" type="checkbox" />是否保存賬號信息

</td>

</tr>

<tr>

<td colspan="2"><input type="submit" value="登陸"/>

</td>

</tr>

</table>

</form>

</body>

</html>


正在回答

1 回答

找出來了?。?!手賤加了個>我靠

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

為什么我最初的時候是個東西?不是空的?

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號