jsp select参数传递问题
我在一个list1.jsp页面中 有两个下拉框
<select name="YYYY1" >
<option value="" ></option>
</select
<select name="MM1" >
<option value="" ></option>
</select>
想在另一个list2.jsp界面获得下拉框中的参数,我是这样写的
<%request.setCharacterEncoding("GB2312");%>
<%
String year = request.getParameter("YYYY1");
System.out.println("year="+year);
String month = request.getParameter("MM1");
System.out.println("month="+month);
%>
但是显示的year和month都是空。
请大家帮帮忙