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.