Announcement Announcement Module
Collapse
No announcement yet.
urlrewrite issues Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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?

    Comment

    Working...
    X