I'm experiencing problem with Pretty Faces URL mappings.
I have one managed bean with the following mappings:
And it works fine when I go to
http://ip/search/?keywords=word.
However, when I try to change mapping
pattern, I got an error.
I expect that the
http://ip/search?keywords=word gives the same response as the link above, but unfortunately I get 404 HTTP error.
search.xhtml is in WebContent/search/ folder of Web project deployed on
JBoss 6.1.0 final.
The interesting thing is when I use JBoss 5.1.0 and Pretty Faces 3.2.0 and
JSF 1.2, the mapping works fine (of course, all mappings are done via XML configuration in this case).
I would appreciate any answer, thanks!