Using ArcGIS JS API v2.5 - v2.8
Some notes on using their API: In 2.5, the path is /library/2.5/arcgis (or arcgis_compact) In 2.6, the path changed to /library/2.6/jsapi (or jsapicompact), but the manual doesn't changed. So be careful when following the installation manual The file in /library/2.6/jsapi/js/esri/jsapi.js will create a Javascript error. You might need to replace the file content with the one in ESRI ArcGIS JS API production site. Something more about the Javascript files in the API: The jsapi.js contains UTF8 characters ( ‰ - u8240, ¤ - u0164), when ArcGIS JS API "index.jsp" includes this file using <jsp:include> , the UTF8 characters will corrupted. I found two solutions for that Modify the jsapi.js, swap those UTF8 characters back to escaped (\u) characters, and save the file back as ANSI format. OR Modify the "index.jsp" , avoid using <jsp:include>, try to use file reader with encoding specified. For example: FileUtils.readFileToString(new F...