ServletActionContext.getRequest().getParameter("pnum");取的值为null
jsp页面:<inputtype="text"id="p"name="pnum"/>action页面:privateStringpnum;publicStringgetP...
jsp页面:<input type="text" id="p" name="pnum"/>
action页面:
private String pnum;
public String getPnum() {
return pnum;
}
public void setPnum(String pnum) {
this.pnum = pnum;
}
ServletActionContext.getRequest().getParameter("pnum")值为Null 展开
action页面:
private String pnum;
public String getPnum() {
return pnum;
}
public void setPnum(String pnum) {
this.pnum = pnum;
}
ServletActionContext.getRequest().getParameter("pnum")值为Null 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询