[seam-commits] Seam SVN: r9277 - trunk/src/main/org/jboss/seam/web.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sun Oct 12 15:19:35 EDT 2008


Author: norman.richards at jboss.com
Date: 2008-10-12 15:19:34 -0400 (Sun, 12 Oct 2008)
New Revision: 9277

Modified:
   trunk/src/main/org/jboss/seam/web/RewriteFilter.java
Log:
JBSEAM-3527

Modified: trunk/src/main/org/jboss/seam/web/RewriteFilter.java
===================================================================
--- trunk/src/main/org/jboss/seam/web/RewriteFilter.java	2008-10-12 19:10:17 UTC (rev 9276)
+++ trunk/src/main/org/jboss/seam/web/RewriteFilter.java	2008-10-12 19:19:34 UTC (rev 9277)
@@ -72,8 +72,8 @@
                ServletException 
     {
         String fullPath = request.getRequestURI();
-        log.info("incoming URL is " + fullPath);
-        log.info("known patterns are " + patterns);
+        //log.debug("incoming URL is " + fullPath);
+        //log.debug("known patterns are " + patterns);
 
         String localPath = strip(fullPath, request.getContextPath());
        
@@ -81,7 +81,7 @@
         if (rewrite!=null) {
             String newPath = rewrite.rewrite();
             
-            log.info("rewritten incoming path is " + newPath);
+            //log.debug("rewritten incoming path is " + newPath);
             
             if (!fullPath.equals(request.getContextPath() + newPath)) {
                 RequestDispatcher dispatcher = request.getRequestDispatcher(newPath);
@@ -138,7 +138,7 @@
             log.warn("Pages is null for incoming request!");
         }
         
-        ServletMapping mapping = new ServletMapping(viewMapping);
+        ServletMapping mapping = new ServletMapping(getViewMapping());
         for (Pattern pattern: allPatterns) {
             pattern.setViewMapping(mapping);
         }




More information about the seam-commits mailing list