JSF上传文件的文件名为何总是小写的?
whusj 2010-06-07 01:35:14 jsf代码如下:
<h:form id="form1" enctype="multipart/form-data" >
<h:outputText value=""/>
<t:inputFileUpload id="fileupload" accept="*/*" value="#{fileEntityListVO.upFile}"
storage="file" required="true" maxlength="200000" />
<h:commandButton value="#{text['upload.uploadattachment']}" styleClass="button_default" action="#{fileEntityListVO.upload}" />
</h:form>
上传文件aAa.txt
为何拿到的文件名一直是aaa.txt,而不是aAa.txt呢?