Unable to get images before LayerName in Legend and TOC

Discussion created by reddaiah.purma on Aug 4, 2012
Latest reply on Aug 6, 2012 by reddaiah.purma
var fireLayer = new esri.layers.ArcGISDynamicMapServiceLayer("",{id:'fire'});

var landBaseLayer = new esri.layers.ArcGISDynamicMapServiceLayer("", { id: 'India' });

When i add the above services to map and get Legend or TOC.....i am able to get icons before Layer Name for the fireLayer but it is showing blank for my Local Service Layers ....

I am using proxy.jsp and i provided both service urls in proxy ...

Is that a problem with proxy file or my Local Service...Is there anything more to add in proxy file....