Re: PrettyFace mapping servlet by annotation and use h:link

Splash Forums PrettyFaces Users PrettyFace mapping servlet by annotation and use h:link Re: PrettyFace mapping servlet by annotation and use h:link

#21614

Hi @pozoga,

What you are trying to do is mix JSF navigation with a Servlet Mapping. The problem is that JSF doesn’t know about Servlets. Because you are using the <h:link> to try to link to a servlet, JSF does not know about the servlet. Try with the <pretty:link> component instead, it directly creates the link based on your configuration, and does not try to go through JSF like the native <h:link> component.

http://ocpsoft.com/docs/prettyfaces/3.3.0/en-US/html_single/#components.prettylink

Let me know if this works better.

Thanks!

~Lincoln