Re: Generic URL mapping, is it possible ?

Splash Forums PrettyFaces Users Generic URL mapping, is it possible ? Re: Generic URL mapping, is it possible ?

#21496

Hey there,

I just tested your config and it seems like PrettyFaces is indeed behaving strange for this config. How do you map the FacesServlet? *.jsf or /faces/*?

And could you please test this configuration:

<url-mapping id="generic">
<pattern value="/#{dynamicViewBean.path}.html" />
<view-id value="#{dynamicViewBean.getViewId }" />
</url-mapping>

Please note the trailing .html in the pattern. Does it work if you access the pages like this:

http://localhost:8080/myapp/test.html

Christian