【发布时间】:2011-06-03 18:42:35
【问题描述】:
我正在使用 Tomahawk 的文件上传组件 <t:inputfileupload> 上传文件。我已将表单的 enctype 设置为
enctype="multipart/form-data"
我使用<h:commandButton> 提交表单。
但是 bean 中的 UploadedFile 属性是 null。我做错了什么,我该如何解决?
【问题讨论】:
标签: java jsf file-upload tomahawk