关于struts2中的select标签往action中传值,求高手指教~
jsp中的代码:
<s:select label="请选择车间" name="depId"
list="#{'-1':'','201':'一期,'202':'二期,'203':'三期}"></s:select>
<div align="center"><font size="3" face="楷体"> <font
color="red"><a
href="newlist.action?depID=” onclick="return check(depId)"><font color="red">创 建 新 记 录</font></a></font></font></div>
请问 如何将select中的key值(即-1,201,202,203)传递给newlist.action呢,即上面的depID= 后面怎么写。。。在action中又需要设置什么参数,参数的类型是什么啊~