JSP:<html:form action="/lucene?action=query" method="POST"enctype="multipart/form-data">
<html:file property="filePath"></html:file>
<html:submit value="提交"></html:submit>
</html:form>ACTIONFORM:public FormFile getFilePath(){
return this.file;
}
void setFilePath(FormFile file){
this.file=file;
}ACTION:
FormFile file=luceneform.getFilePath();
在ACTION里死活得不到路径!!!!!!!!!!!!!!!!大家帮忙给看看
<html:file property="filePath"></html:file>
<html:submit value="提交"></html:submit>
</html:form>ACTIONFORM:public FormFile getFilePath(){
return this.file;
}
void setFilePath(FormFile file){
this.file=file;
}ACTION:
FormFile file=luceneform.getFilePath();
在ACTION里死活得不到路径!!!!!!!!!!!!!!!!大家帮忙给看看
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货