public static String getApplicationName(HttpServletRequest request) {
String appName = "root";
if (request.getContextPath().length() > 1) {
appName = request.getContextPath().substring(1);
}
return appName;
}
request.getContextPath()
最新推荐文章于 2021-04-16 10:53:32 发布