0
为了结合普通的文本框,我们可以将代码:语法春季结合使用标签
<spring:bind path="ImageId">
<input type="text" name="${status.expression}" value="${status.value}" id="imageId" />
</spring:bind>
但在情况下,如果输入类型是文件,那么会是什么是绑定的语法吗? ${status.expression}
和${status.value}
的位置是什么?
如果无法通过这个标签基法,那么,请建议我使用spring&hibernate将图像存储到db中的代码! –
example1:http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/html/mvc.html#mvc-multipart example2:http://www.mkyong.com/spring- MVC /弹簧-MVC文件上传-示例/ –