提交 e168daa5 编写于 作者: K kohsuke

context path can be empty, so a better rendering is needed.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23429 71c3de6d-444a-0410-be80-ed276b4c234a
上级 65b3484e
......@@ -127,7 +127,7 @@ public class DoubleLaunchChecker {
String contextPath="";
try {
Method m = ServletContext.class.getMethod("getContextPath");
contextPath=(String)m.invoke(h.servletContext);
contextPath=" contextPath=\""+m.invoke(h.servletContext)+"\"";
} catch (Exception e) {
// maybe running with Servlet 2.4
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册