activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jga...@apache.org
Subject svn commit: r384166 - /incubator/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java
Date Wed, 08 Mar 2006 09:31:58 GMT
Author: jgapuz
Date: Wed Mar  8 01:31:56 2006
New Revision: 384166

URL: http://svn.apache.org/viewcvs?rev=384166&view=rev
Log:
>From PVillacorta - Fix IE issue where 1 message is received multiple times.

Modified:
    incubator/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java

Modified: incubator/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java?rev=384166&r1=384165&r2=384166&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java
(original)
+++ incubator/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageListenerServlet.java
Wed Mar  8 01:31:56 2006
@@ -186,6 +186,7 @@
         else
         {
             response.setContentType("text/xml");
+            response.setHeader("Cache-Control", "no-cache");
             response.getWriter().print("<ajax-response></ajax-response>");
         }
         // System.err.println("==");
@@ -270,6 +271,7 @@
 
             // prepare the responds
             response.setContentType("text/xml");
+            response.setHeader("Cache-Control", "no-cache");
 
             StringWriter swriter = new StringWriter();
             PrintWriter writer = new PrintWriter(swriter);



Mime
View raw message