HOW TO
The following article describes how to allow a Java Search Template to return search results correctly in non-English environments by editing three files: ResTemplates.properties, search.jsp and web.xml.
<%@ page contentType="text/html; charset=ISO-8859-1" %>
<%@ page contentType="text/html; charset=Shift_JIS" %>
<filter> <filter-name>SessionTimeout</filter-name> <filter-class>com.esri.arcgis.webcontrols.util.ADFSessionTimeoutFilter</filter-class> <init-param> <param-name>redirectPage</param-name> <param-value>/timeout.html</param-value> </init-param> </filter>
<filter> <filter-name>SessionTimeout</filter-name> <filter-class>com.esri.arcgis.webcontrols.util.ADFSessionTimeoutFilter</filter-class> <init-param> <param-name>characterEncoding</param-name> <param-value>Shift_JIS</param-value> </init-param> <init-param> <param-name>redirectPage</param-name> <param-value>/timeout.html</param-value> </init-param> </filter>
<%@ page contentType="text/html; charset=ISO-8859-1" %>
<%@ page contentType="text/html; charset=Shift_JIS" %>
<filter> <filter-name>SessionTimeout</filter-name> <filter-class>com.esri.arcgis.webcontrols.util.ADFSessionTimeoutFilter</filter-class> <init-param> <param-name>redirectPage</param-name> <param-value>/timeout.html</param-value> </init-param> </filter>
<filter> <filter-name>SessionTimeout</filter-name> <filter-class>com.esri.arcgis.webcontrols.util.ADFSessionTimeoutFilter</filter-class> <init-param> <param-name>characterEncoding</param-name> <param-value>Shift_JIS</param-value> </init-param> <init-param> <param-name>redirectPage</param-name> <param-value>/timeout.html</param-value> </init-param> </filter>
Get help from ArcGIS experts
Download the Esri Support App