文章列表
<form method="post" name="input" action="a.asp" enctype="multipart/form-data">
<input type="text" name="aaa" value="abcd">
<input type="file" name="bbb">
</form>
我提交表单后request.form(" ...
System.out.println("Protocol: " + request.getProtocol());
System.out.println("Scheme: " + request.getScheme());
System.out.println("Server Name: " + request.getServerName() ); //获得服务器的名字
System.out.println("Server Port: " + request.getServerPort()); //获得服务器的 ...