Re: Conflict between URL pattern

Splash Forums PrettyFaces Users Conflict between URL pattern Re: Conflict between URL pattern

#20297

You could try to add a regular expression to your second mapping that prevents that /prehome/ get matched by the second mapping:

http://ocpsoft.com/docs/prettyfaces/3.1.0/en-US/html_single/#config.pathparams.regex

http://stackoverflow.com/questions/1061651

You could also try to change the order of the two mappings in pretty-config.xml. I had a quick look at the code and it seems like the first mapping matching the URL wins! :-)