fileupload.html

来自「JavaWeb高级特性书中源代码」· HTML 代码 · 共 17 行

HTML
17
字号
<html>
<head>
	<title>upload experiment</title>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
	<h3>测试文件上传组件的页面</h3>
	<form action="servlet/UploadServlet" 
				enctype="multipart/form-data" method="POST"> 
		作者:<input type="text" name="author"><br> 
		来自:<input type="text" name="company"><br> 
		文件1:<input type="file" name="file1"><br>
		文件2:<input type="file" name="file2"><br>
		<input type="submit" value="上载">
	</form>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?