jsp页面多按钮提交!怎么处理?高手请出招!
请教:
在一页面中我用到多个Image做提交按钮,如:
<form name="form1" method="post" action="htps_submit_contrl.jsp">
......
<input type="image" border="0" name="submit_type" value="01" src="dzsw/image/ps_submit01.bmp">
<input type="image" border="0" name="submit_type" value="02" src="dzsw/image/ps_submit02.bmp">
</form>
我想在htps_submit_contrl.jsp里面得到submit的value的值,该怎么做呀?
String submit_type = request.getParameter("submit_type03");
System.out.println(submit_type);
输出为什么是null