I am trying to develop a text field drop down list in Struts2. This means a user can type the word and field will show all matching list. Its easy to use because <S:select list="abd"></s:list>
display all items. If a list is big then the user will have problem to select an item from the list so its better to provide a text field with the drop down, the a user can select any item via typing a word or selecting from the drop down.
Please help me on this. Code should be in jsp file and action bean.
Finally i solve my problem . for a drop down list in Struts 2
<s:select list="we" name=" my-List "></s:select>
now just use
<sj:auto-completer list="we" name="my-List"></ sj:autocompleter>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.