%@ page import="gov.mo.dps.mshp.common.constants.Constants"%>
Crash Maps
<%String amfcontext = ""; String webcontext = request.getRequestURL().toString(); System.err.println("web1: " + webcontext); Constants constants = Constants.getResources(); String[] context = webcontext.split("/"); if(!context[2].equals("www.mshp.dps.missouri.gov") && !context[2].equals("www.mshp.dps.mo.gov")){ webcontext = "http://" + constants.getValue("GISSERV"); amfcontext = context[0] + "//" + context[2]; }else{ webcontext = context[0] + "//" + context[2]; amfcontext = context[0] + "//" + context[2]; } System.err.println("web2: " + webcontext + "amf: " + amfcontext); %>
Traffic Crashes Online Mapping