?? uploadtest.jsp
字號:
<%@ page language="java" contentType="text/html;charset=gb2312"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<script language="javascript">
function add()
{
if(add_form.a.value.length == 0)
{
alert("haha");
}
else
{
add_form.submit();
}
}
</script>
</head>
<form name="add_form" action="upload.jsp" enctype="multipart/form-data" method="post">
上傳文件<input type="file" name="a">
<br><input type="file" name="a">
<br><input type="file" name="a">
<input type="submit" value="hehe">
</form>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -