You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
35 lines
1.2 KiB
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
|
<%
|
|
String path = request.getContextPath();
|
|
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
|
%>
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="pragma" content="no-cache">
|
|
<meta http-equiv="cache-control" content="no-cache">
|
|
<meta http-equiv="expires" content="0">
|
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
|
<meta http-equiv="description" content="This is my page">
|
|
<script language="javascript">
|
|
function check()
|
|
{
|
|
if(document.formAdd.fujian.value=="")
|
|
{
|
|
alert("请选择文件");
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<form action="upload_re.jsp?Result=<%=request.getParameter("Result")%>" name="formAdd" method="post" enctype="multipart/form-data">
|
|
<input type="file" name="fujian" id="fujian" onKeyDown="javascript:alert('此信息不能手动输入');return false;" />
|
|
<input type="submit" value="提交" onClick="return check()"/>
|
|
</form>
|
|
</body>
|
|
</html>
|