Unable to display Legend using arcgis 9.3.1 java script REST API's

Discussion created by pakya12 on Sep 8, 2011
Latest reply on Oct 3, 2011 by skunjadia
Hi There,
I am completely new to ArcGIS Java Script APIs and currently facing problem to display symbology / legend. I have downloaded the TOC sample from net & its shows Layer names properly in tree control [just like arcmap] without symbology. When checked author told that TOC component either expects ArcGIS 10 or application server to be in public domain.
Currenly i am working on ArcGIS 9.3.1 with REST APIs and no option to make server as public.

Any body can help on this related to sample if any available using getLegendInfo & java script.

Thanks in advance.