Hmm...
If I remove the * from the filter-mapping in web.xml I'm able to trigger the flow by adding app/registration to the base url, but then I also have to add app as a prefix whenever I call a controller. Not exactly what I wanted. :-(
Code:
<filter-mapping>
<filter-name>UrlRewriteFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Here are the rules in urlrewrite.xml:
Code:
<rule>
<from>/</from>
<to>/app/welcome</to>
</rule>
<rule>
<from>/**</from>
<to>/app/$1</to>
</rule>
<rule>
<from>/styles/**</from>
<to>/app/styles/$1</to>
</rule>
<outbound-rule>
<from>/app/**</from>
<to>/$1</to>
</outbound-rule>
Is there some smart expression I can use to remove the need to prefix every call with /app/ ?