Maybe it saves somebody from a little trial and error.
If you just want to serve your pages (rather than source code) with *.xhtml
URLs these rules do the job fine:
<rule match-type="wildcard">
| <from>/**.xhtml**</from>
| <to>/$1.seam$2</to>
| </rule>
|
| <outbound-rule match-type="wildcard">
| <from>/**.seam**</from>
| <to>/$1.xhtml$2</to>
| </outbound-rule>
Also be sure to add the rewrite filter as the _first_ filter in web.xml
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073216#4073216
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073216
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user