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中又需要设置什么参数!
直接写,写多少?这个是需要从select中取的,是动态的。。。
你写一下看看。depID=多少