This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new b7594951d3 Include any error message if the session is not found
b7594951d3 is described below
commit b7594951d3d26a6b4826ce2751ca33b8f3b6a8a7
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Jun 25 10:46:56 2026 +0100
Include any error message if the session is not found
---
webapps/manager/WEB-INF/jsp/sessionDetail.jsp | 1 +
1 file changed, 1 insertion(+)
diff --git a/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
b/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
index 0e6f4513b5..4e86fe2471 100644
--- a/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
+++ b/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
@@ -59,6 +59,7 @@
<body>
<% if (currentHttpSession == null) { %>
<h1><%=currentSessionId%></h1>
+ <div class="error"><%= JspHelper.escapeXml(request.getAttribute("error"))
%></div>
<% } else { %>
<h1>Details for Session <%= currentSessionId %></h1>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]