hi all,
I am trying to use
Struts 2 autocompleter tag to auto populate the list of names which i get from Database.
As soon as i am tying a character, its going to action and hitting the database but i am unable to see the data populating as dropdown.
Here's my code:
JSP code:
Action Class Code:
//Getters and setters
struts.xml code:[u][/u]
As soon as i start typing in the textbox , it hits the action class and goes to DB class and gets the arralylist and i am able to see the arraylist size as printout for each char i type in the searchbox of my jsp.
But i am unable to see the dropdown of the data. ( I have a column in DB table which i want to see as dropdown for each char i type)
Please help me where am i going wrong.
Thanks.