cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject svn commit: r545086 - /cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/DispatcherServlet.java
Date Thu, 07 Jun 2007 06:57:15 GMT
Author: giacomo
Date: Wed Jun  6 23:57:14 2007
New Revision: 545086

URL: http://svn.apache.org/viewvc?view=rev&rev=545086
Log:
seems someone is already working on it, sorry. Reverting last changes

Modified:
    cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/DispatcherServlet.java

Modified: cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/DispatcherServlet.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/DispatcherServlet.java?view=diff&rev=545086&r1=545085&r2=545086
==============================================================================
--- cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/DispatcherServlet.java
(original)
+++ cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/DispatcherServlet.java
Wed Jun  6 23:57:14 2007
@@ -53,8 +53,6 @@
     
     /** The servlet collector bean */
     private Map blockServletCollector;
-
-    private static ThreadLocal prefix = new ThreadLocal();
     
     public void init() throws ServletException {
         this.log("Block dispatcher was initialized successfully.");        
@@ -91,13 +89,7 @@
 	                " pathInfo=" + request.getPathInfo());
         }
         
-        prefix.set(req.getServletPath());
-        try {
-            servlet.service(request, res);
-        }
-        finally {
-            prefix.set(null);
-        }
+        servlet.service(request, res);
     }
     
     private void getInterfaces(Set interfaces, Class clazz) {



Mime
View raw message