Re: spring-security-redirect problem with facesContext.externalContext.requestServle

Splash Forums Rewrite Users spring-security-redirect problem with facesContext.externalContext.requestServle Re: spring-security-redirect problem with facesContext.externalContext.requestServle

#21740

Serkan Durusoy
Participant

Hi Christian,

Please forget about spring security there for a moment.

My main concern is to obtain the current (prettified) url of the page from within a code fragment that is included in all of the pages.

I tried using pretty:urlbuffer, but it requires you to know the view id and parameters of the current page.

So as I explained in the original post, the EL #{facesContext.externalContext.requestServletPath} resolves to the physical url, what I want is an expression or method to obtain the prettified url.