表单
<form action="/student/t_updateStudent?userId = 1" method="post" name = "form1">action 中
String ids = ServletActionContext.getRequest().getParameter("userId"); ==>这个不就是接收参数的吗?调试有运行到那里,怎么没接收到参数?
<form action="/student/t_updateStudent?userId = 1" method="post" name = "form1">action 中
String ids = ServletActionContext.getRequest().getParameter("userId"); ==>这个不就是接收参数的吗?调试有运行到那里,怎么没接收到参数?
是这样传参的 <input type="hidden" value="${param.t_sid}" name="userId">