Skip to content

Commit 1393f4e

Browse files
committed
Update README.md
1 parent b15348d commit 1393f4e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A highly configurable URL-rewriting tool for Java EE 6+ and Servlet 3.0 applicat
1111
* JavaServer Pages (JSP)
1212
* Struts
1313
* Wicket
14-
* Groovy on Grails
14+
* Grails
1515
* Spring Roo
1616
* Spring Web Flow
1717
* Any servlet & web framework!
@@ -50,8 +50,8 @@ Get Started
5050
{
5151
return ConfigurationBuilder.begin()
5252
.defineRule()
53-
.when(Direction.isInbound().and(Path.matches("/some/page/.*/")))
54-
.perform(Forward.to("/new-page/"));
53+
.when(Direction.isInbound().and(Path.matches("/some/page/{p}/")))
54+
.perform(Forward.to("/new-page/{p}.html"));
5555
}
5656
}
5757

0 commit comments

Comments
 (0)