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 ")
可以得到。 
	
posted on 2008-12-24 10:50 
Crying 阅读(189) 
评论(0)  编辑  收藏  所属分类: 
JSF