-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
The variable "title" does not have correct value when I submit the following
form:
<%@page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<body>
<h2>Spring MVC file upload example</h2>
<form:form method="POST" commandName="fileUploadForm"
enctype="multipart/form-data">
<form:errors path="*" cssClass="errorblock" element="div" />
<form:input path="title" />
<br />
Chọn file để upload
<input type="file" name="file" />
<input type="submit" value="upload" />
<span><form:errors path="file" cssClass="error" /></span>
</form:form>
</body>
</html>
Original issue reported on code.google.com by trancong...@gmail.com on 21 Aug 2012 at 4:41