日期:2014-05-19  浏览次数:20626 次

struts2 的doubleselect标签怎样保存啊
我的jsp中时这样写的。
<s:set name="Map" value="maps" />
<s:doubleselect list="#Map.keySet()" doubleName="seats1"
doubleList="#Map[top]" 
>
</s:doubleselect> 

现在能正常显示了,请问该如何保存呢。就是在action中得到数据。

------解决方案--------------------
类中获得页面的select标签值直接用request.getParameter("标签name");就行
例如:
<select name="mySelect" value="">
<option value="1">1</option>
</select>

String mySelectValue = request.getParamter("mySelect");

------解决方案--------------------
那个标签我没用过,抱歉。等待高手给你解答吧。
http://zhidao.baidu.com/question/141357802
这个是我找的一个方法,希望能给你点启发