【发布时间】:2013-11-08 07:11:31
【问题描述】:
我在 Struts 2 中使用 Ajax jQuery 插件 jar。我使用 Ajax 选择标签填充列表,但未填充列表。如果我使用<sj:autocompleter> 标签,它可以正常工作。
这是我的代码:
<sj:select name="countryId" list="countryList" listKey="id" listValue="name"
headerKey="" headerValue="--Select Country--"
onchange="document.forms[0].action='city_countryChange'; document.forms[0].submit(); return true;"
required="required"></sj:select>
<sj:select> 标签有什么问题?
【问题讨论】:
-
显示你的动作代码和struts结果配置(xml/annotation)
标签: java jsp jquery-plugins struts2 struts2-jquery