I'm using Pretty Faces in combination with Spring, Spring Security and JSF. My problem is, that I'm getting get a weird url string, when I click a link which is declared like this:
<h:link outcome="pretty:imprint">Imprint</h:link>
pretty-config.xml
<pretty-config xmlns="http://ocpsoft.com/prettyfaces/3.3.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ocpsoft.com/prettyfaces/3.3.0
http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.0.xsd">
<url-mapping id="imprint">
<pattern value="/Imprint" />
<view-id value="/imprint.xhtml" />
</url-mapping>
</pretty-config>
But when I follow the link without the strange additional string (http://localhost:8080/MyWebApp/Imprint) I'm also directed to the right page.
Does anyone have an idea, where this string comes from?