kernel164 / gmultipart

Automatically exported from code.google.com/p/gmultipart
3 stars 3 forks source link

Unicode for extra input field won;t work #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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