第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

為什么姓名輸?shù)臐h字地址欄卻是這樣

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

? ? pageEncoding="UTF-8"%>

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

<%

String path = request.getContextPath();

String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";?

%>

<html>

<head>

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

<title>Insert title here</title>

</head>

<body>

? ?<h1>用戶登錄</h1>

? ?<hr>

? ?<form action="dologin.jsp" name="loginForm" method="get">

? ? <table>

? ? ? <tr>

? ? ? ? <td>用戶名:</td>

? ? ? ? <td><input type="text" name="username"/></td>

? ? ? </tr>

? ? ? <tr>

? ? ? ? <td>密碼:</td>

? ? ? ? <td><input type="password" name="password"/></td>

? ? ? <tr>

? ? ? <td><input type="submit" value="登錄"/></td>? ? ?

? ? </table>

? ?</form>

</body>

</html>

https://img1.sycdn.imooc.com//5c9e04c80001603c10310220.jpg

正在回答

2 回答

url中自動(dòng)轉(zhuǎn)碼,可以使用相關(guān)的函數(shù)獲取到值。

0 回復(fù) 有任何疑惑可以回復(fù)我~

在tomcat的conf文件夾中server.xml文件,將<Connector >標(biāo)簽中添加URIEncoding="UTF-8"

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

如初654 提問者

剛剛試過了 還是這樣子
2019-03-30 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

為什么姓名輸?shù)臐h字地址欄卻是這樣

我要回答 關(guān)注問題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)