读书人

s2sh ssh 前台文本框的值传给后台老板

发布时间: 2012-08-24 10:00:21 作者: rapoo

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/

读书人网 >Web前端

热点推荐