%@ page language="java" import="java.util.*" pageEncoding="GBK"%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String locationx = request.getParameter("locationx"); String locationy = request.getParameter("locationy"); if(locationx == null || "".equals(locationx) || "NULL".equals(locationx.trim().toUpperCase())){ locationx = ""; } if(locationy == null || "".equals(locationy) || "NULL".equals(locationy.trim().toUpperCase())){ locationy = ""; } %>