private void initServerPath(HttpServletRequest request) { if (Global.getSharedObject("serverPath") == null) { String serverPath = RequestResolver.getServerPath(request); Global.shareObject("serverPath", serverPath); } }