garble charanters in the jsapi.js delivered by default index.jsp

536
0
05-26-2011 05:49 PM
by Anonymous User
Not applicable
I try to configure the ArcGIS API for JavaScript locally. My environment are the following;

OS:Windows XP SP3
JDK:1.5, 1.6
Tomcat:6.0.32

I download the API, then configure it on the machine.
When I try to test, I have a parsing error because of garble charanters in the jsapi.js delivered by default index.jsp.
As far as I investigate, the index.jsp assumes as UTF-8, so that it doesn't export the correct jsapi.js.

I already have a workaround.
I modify the index.jsp and specify the encoding explicitly.
However Esri support staff mentioned that this is not officially supported if I modify the default index.jsp provided by Esri.

Have any idea and workaround?

Tomoyuki
0 Kudos
0 Replies