JSF 代碼 :
<h:form id= "fileform ">
<h:inputText id="classid " value="#{fileUpload.filename}" />
</h:form>
生成對象的代碼:
<form id="fileform" name="fileform" >
<input id="fileform:classid " name="fileform:classid " type="text" value="" />
</form>
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get( "fileform:classid ")
可以得到。