Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

dojo autocomplete not displaying lidst of object values.  RSS feed

Vinod suryawanshi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • 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.
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!