Re: Problem with PrettyFaces and Primefaces

Splash Forums PrettyFaces Users Problem with PrettyFaces and Primefaces Re: Problem with PrettyFaces and Primefaces

#20259

“can i use pretty faces without rewrite rule? “

Of course.

“it means i must write JSF Managebeand to get context path?”

No. It should already be available under the #{request.contextPath} object. If that does not work, try #{requestScope.contextPath}

I assume you are using JSF1.2?

You can also just hard-code the context path if that is simpler…

<link href="/approot/css/styles.css" rel="stylesheet" type="text/css" />