【发布时间】:2014-04-02 09:26:57
【问题描述】:
我得到了以下代码:
<form method="post" accept-charset="UTF-8" action="showPartners.action?" id="_form" onsubmit="return selCheck();">
<div style="float: left; width: 350px;">
<span class="text_vert"> Select Country : </span>
<s:select style="width:200px;" onchange="loadBusinessList();"
headerKey="-1" headerValue="Country Select" list="couList"
listKey="idCountry" listValue="label" id="countryId"
name="countryId">
</s:select>
</div>
<a href='addPartner.action?height=550&width=850&id=<s:property value="countryId"/>'" >Insert</a>
</form>
我需要做的是将国家 ID 传递给 a href 标记中的链接,但我得到的是 ID=0。
我将不胜感激。
【问题讨论】:
标签: java jsp parameter-passing