2016-03-23 13:12:12 +01:00
|
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
|
|
|
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<title>Spring MVC File Upload</title>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2016-03-30 15:06:37 +02:00
|
|
|
|
|
|
|
|
<h2>Submitted File (Single)</h2>
|
2016-03-23 13:12:12 +01:00
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>OriginalFileName :</td>
|
2016-03-30 15:06:37 +02:00
|
|
|
<td>${file.originalFilename}</td>
|
2016-03-23 13:12:12 +01:00
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Type :</td>
|
2016-03-30 15:06:37 +02:00
|
|
|
<td>${file.contentType}</td>
|
2016-03-23 13:12:12 +01:00
|
|
|
</tr>
|
|
|
|
|
</table>
|
2016-03-30 15:06:37 +02:00
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
<h2>Submitted Files (Multiple)</h2>
|
|
|
|
|
<table>
|
|
|
|
|
<c:forEach items="${files}" var="file">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>OriginalFileName :</td>
|
|
|
|
|
<td>${file.originalFilename}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Type :</td>
|
|
|
|
|
<td>${file.contentType}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</table>
|
2016-03-23 13:12:12 +01:00
|
|
|
</body>
|
|
|
|
|
</html>
|