Results 1 to 2 of 2

Thread: urlrewrite issues

  1. #1
    Join Date
    Oct 2005
    Location
    Edmonton, AB
    Posts
    40

    Default urlrewrite issues

    I've created a spring roo project using 1.0.0.RC1 but I'm having trouble with the urlrewrite rules. The rules are the standard generated rules:
    Code:
    <rule>
    	<from>/app/**</from>
    	<to last="true">/app/$1</to>
    </rule>
    <rule>
    	<from>/**</from>
    	<to>/app/$1</to>
    </rule>
    <outbound-rule>
    	<from>/app/**</from>
    	<to>/$1</to>
    </outbound-rule>
    with the above rules and the following automatically created controller
    Code:
    @RooWebScaffold(automaticallyMaintainView = false, formBackingObject = Category.class)
    @RequestMapping("/category/**")
    @Controller
    public class CategoryController {}
    I get the following error:

    DispatcherServlet with name 'prtracker' determining Last-Modified value for [/prtracker/app/wodcategory/form]
    No handler found in getLastModified
    DispatcherServlet with name 'prtracker' processing GET request for [/prtracker/app/category/form]
    No mapping found for HTTP request with URI [/prtracker/app/category/form] in DispatcherServlet with name 'prtracker'

    web.xml has:
    Code:
    <servlet-mapping>
          <servlet-name>prtracker</servlet-name>
    	<url-pattern>/app/*</url-pattern>
    </servlet-mapping>
    Any ideas why this is occuring?

  2. #2
    Join Date
    Oct 2005
    Location
    Edmonton, AB
    Posts
    40

    Default

    Maybe a better question is whether or not anyone else is seeing this behavior and if not can you provide snipets of your urlrewrite.xml?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •