esoe
2 years ago
commit
756a8b000f
1 changed files with 28 additions and 0 deletions
@ -0,0 +1,28 @@ |
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||||
|
<!DOCTYPE html> |
||||||
|
<html> |
||||||
|
<head> |
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
||||||
|
<title>exchange-servlet</title> |
||||||
|
|
||||||
|
<link rel="stylesheet" href="resource/css/main.css" /> |
||||||
|
</head> |
||||||
|
<body> |
||||||
|
<div class="panel"> |
||||||
|
<h1>File Upload</h1> |
||||||
|
<h3>Press 'CTRL' Key+Click On File To Select Multiple Files in Open Dialog</h3> |
||||||
|
<form id="fileUploadForm" method="post" action="fileUploadServlet" enctype="multipart/form-data"> |
||||||
|
<div class="form_group"> |
||||||
|
<label>Upload File</label><span id="colon">: </span><input id="fileAttachment" type="file" name="fileUpload" multiple="multiple" /> |
||||||
|
<span id="fileUploadErr">Please Upload A File!</span> |
||||||
|
</div> |
||||||
|
<button id="uploadBtn" type="submit" class="btn btn_primary">Upload</button> |
||||||
|
</form> |
||||||
|
</div> |
||||||
|
|
||||||
|
<!-- List All Uploaded Files --> |
||||||
|
<div class="panel"> |
||||||
|
<a id="allFiles" class="hyperLink" href="<%=request.getContextPath()%>/uploadedFilesServlet">List all uploaded files</a> |
||||||
|
</div> |
||||||
|
</body> |
||||||
|
</html> |
Loading…
Reference in new issue