This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes dojo autocomplete not displaying lidst of object values. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "dojo autocomplete not displaying lidst of object values." Watch "dojo autocomplete not displaying lidst of object values." New topic
Author

dojo autocomplete not displaying lidst of object values.

Vinod suryawanshi
Ranch Hand

Joined: Aug 08, 2012
Posts: 50
Sorry if i am posting very basic question, But i am trying to solve it from last 4-5 days and still not got solution for it.

I am using struts dojo library to display auto complete, here is my code please help me in find out out where exactly i am wrong.

jsp page..


my struts.xml fie as followed,


My java page..


i still not able to find where exactly i am doing mistake, or may be missing anything. when i directly hit 'http://localhost:8080/shop/fetchsector' link i got following output.

[{"category":"Retail Shop","catid":1},{"category":"Services","catid":2},{"category":"Bussiness","catid":3}]

Once again i am repeating my problem, i am still working on first autocomplete. my first auto complete not fetching value from java page to jsp. when i click on it its display empty value or you may say empty list. may be i am doing some mistake in autocomplete of sector.
 
 
subject: dojo autocomplete not displaying lidst of object values.
 
Similar Threads
S2: autocompleter - how to populate a list based on user's input?
File and autocompleter tags doesn't work together
Struts 2 autocompleter not populating from database
autocompleter tag...not working out. Please help S2
Struts2 - Json - Autocomplete problem