• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

dojo autocomplete not displaying lidst of object values.

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Switching from electric heat to a rocket mass heater reduces your carbon footprint as much as parking 7 cars. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic