Thanks, this gives me the same webpage as request.
The problem is that when I invoke a webpage through an action I need to
construct the url that will be shown in the next view using this objects:
ServletRequest, ServletResponse, FilterChain chain
Constructing the url with ServletRequest gives me the same url that has
already been shown, if I call an action from home.jsf pointing to
/register.jsf, I need to obtain the String "/register.jsf", building the
String from request gives me "/home.jsf"
Any known way to solve this?
Thanks a lot.
JUlian
Andrew Robinson wrote:
Are you looking for:
FacesContext.getCurrentInstance().getViewRoot().getViewId()?
On 11/28/05, Julián García <[EMAIL PROTECTED]> wrote:
How can I access the url that is being currently displayed for the user
using the FacesContext? I need this to do a custom filter for
authorization using acegi.....Any experiences to share with that?
Thanks a lot.
Julian