tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1037663 - /tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java
Date Mon, 22 Nov 2010 10:32:13 GMT
Author: markt
Date: Mon Nov 22 10:32:12 2010
New Revision: 1037663

URL: http://svn.apache.org/viewvc?rev=1037663&view=rev
Log:
Fix manager app - attribute removed message was not being displayed

Modified:
    tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java

Modified: tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java?rev=1037663&r1=1037662&r2=1037663&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java (original)
+++ tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java Mon Nov 22 10:32:12
2010
@@ -860,7 +860,7 @@ public final class HTMLManagerServlet ex
                 removeSessionAttribute(cn, sessionId, name, smClient);
             String outMessage = removed ? "Session attribute '" + name + "' removed." : "Session
did not contain any attribute named '" + name + "'";
             req.setAttribute(APPLICATION_MESSAGE, outMessage);
-            resp.sendRedirect(resp.encodeRedirectURL(req.getRequestURL().append("?path=").append(cn.getPath()).append("&action=sessionDetail&sessionId=").append(sessionId).toString()));
+            displaySessionDetailPage(req, resp, cn, sessionId, smClient);
             return;
         } // else
         displaySessionsListPage(cn, req, resp, smClient);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message