日期:2014-05-16 浏览次数:20389 次
<f:view> <h:form enctype="multipart/form-data"> <h:outputText value="选择文件:" /> <INPUT TYPE="file" name="path" size="38"/> <h:commandButton value="upload" actionListener="#{fileProcess.upload}"/> <h:messages/> </h:form> </f:view>