title: mvc:annotation-driven Spring mvc 3 and Tuckey URL Filter
body: <p>I was using Tuckey url for url re-writing. This is how it looks:</p>
  
  <p>rule
          from / from <br>
   to /pf/welcome to <br>
          (changed format to enter into this forum, regular xml tags are used) <br>
  rule</p>
  
  <p>and this is how I have my entitymanager set up in web.xml:</p>
  
  <p>
       OpenEntityManagerInViewFilter
        /*&lt;/url-pattern>-->
            /pf/*
       FORWARD</p>
  
  <p></p>
  
  <p>I would like to take advantage of Spring 3 validations.
  In my presentation-context file I added this:
  </p>
  
  <p>As soon as I do that I get 404 errors. The mapping is off.</p>
  
  <p>12/Sep/10 21:57:46 DEBUG [http-8080-1] DEBUG (org.springframework.web.servlet.Di
  spatcherServlet.getLastModified(DispatcherServlet.java:842)) - DispatcherServlet
   with name 'dispatcher' determining Last-Modified value for [/PublicFountainWAR-
  0.0.1-SNAPSHOT/pf/welcome]
  12/Sep/10 21:57:46 DEBUG [http-8080-1] DEBUG (org.springframework.web.servlet.Di
  spatcherServlet.getLastModified(DispatcherServlet.java:850)) - <strong>No handler found
  in getLastModified
  12/Sep/10 21:57:46 DEBUG [http-8080-1] DEBUG (org.springframework.web.servlet.Di
  spatc</strong>herServlet.doService(DispatcherServlet.java:690)) - DispatcherServlet with
  name 'dispatcher' processing GET request for [/PublicFountainWAR-0.0.1-SNAPSHOT/
  pf/welcome]
  12/Sep/10 21:57:46 WARN  [http-8080-1] WARN (org.springframework.web.servlet.Dis
  patcherServlet.noHandlerFound(DispatcherServlet.java:962)) - <strong>No mapping found fo
  r HTTP request with URI [/PublicFountainWAR-0.0.1-SNAPSHOT/pf/welcome] in Dispat
  cherServlet with name 'dispatcher'</strong>
  12/Sep/10 21:57:46 DEBUG [http-8080-1] DEBUG (org.springframework.web.servlet.Fr
  ameworkServlet.processRequest(FrameworkServlet.java:677)) - Successfully complet
  ed request
  12/Sep/10 21:57:46 DEBUG [http-8080-1] DEBUG (org.springframework.orm.jpa.suppor
  t.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.j
  ava:120)) - Closing JPA EntityManager in OpenEntityManagerInViewFilter
  12/Sep/10 21:57:46 DEBUG [http-8080-1] DEBUG (org.springframework.orm.jpa.Entity
  ManagerFactoryUtils.closeEntityManager(EntityManagerFactoryUtils.java:328)) - Cl
  osing JPA EntityManager</p>
  
  <p>my controllers are mapped to key words without the "pf".
  e.g. /welcome NOT /pf/welcome</p>
  
  <p>the "pf" was just there to forward it to a sort of virtual path only known to the dispatchservlet for processing...the url's are all independant.</p>
  
  <p>IS there a way to use Tuckey and ??? </p>
  
  <p><strong>Summary:</strong></p>
  
  <p>guys any clues would help...just wanna add
  mvc:annotation-driven </p>
  
  <p>to my pre-existing spring mvc 3.0 web app using Tuckey URL filter......</p>
  
  <p>any help would be greatly appreciated! </p>