s2sh ssh 前台文本框的值传给后台,取值,获取值

前台
<input id="personName" name="person.zhongwenming">


后台
ActionContext ac=ActionContext.getContext();
HttpServletRequest request=(HttpServletRequest) ac.get(ServletActionContext.HTTP_REQUEST);
		
String personName=request.getParameter("person.zhongwenming");


.hbm.xml
<property name="zhongwenming" type="java.lang.String">
            <column name="ZHONGWENMING" length="30" not-null="true" />
</property>


黑色头发:http://heisetoufa.iteye.com/

你可能感兴趣的:(s2sh)