This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new d46c8c1ce3 Include any error message if the session is not found
d46c8c1ce3 is described below

commit d46c8c1ce31706f94e5545b2b54b440c1f86e365
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 ad2558eb0f..03f89f8ac8 100644
--- a/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
+++ b/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
@@ -58,6 +58,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]

Reply via email to