How to access .shp file from local computer or some other server.

Discussion created by mustafa646 on Feb 8, 2011
Latest reply on Feb 8, 2011 by DSwingley-esristaff
Below is the code in which we can access a feature layer from ArcGIS sample server.

queryTask = new esri.arcgis.gmaps.QueryTask("");

But I want to access my own .shp file residing on my local computer or on another server, e.g this..

queryTask = new esri.arcgis.gmaps.QueryTask("");

In this case, queryTask does not return featureSet and so .shp file could not display on Map.

Can anybody help me .. where is problem and how i can fix it.