81,092
社区成员
发帖
与我相关
我的任务
分享
...
String adminHost = null;
// Get the host name the admin app runs on
// this host cannot be deleted from the admin tool
try {
adminHost = Lists.getAdminAppHost(
mBServer, "domain" ,request);
} catch (Exception e) {
String message =
resources.getMessage(locale, "error.hostName.bad",
adminHost);
getServlet().log(message);
response.sendError(HttpServletResponse.SC_BAD_REQUEST, message);
return (null);
}
request.setAttribute("adminAppHost", adminHost);
...
java.lang.String.indexOf(Unknown Source)