Friday, September 13, 2013

JSF Errors: JSF1008: Redirect to path .. failed

Rarely encountered exception. In Mojarra implementation thrown from method com.sun.faces.application.NavigationHandlerImpl.handleNavigation when IOException was thrown from:

...
public void handleNavigation(FacesContext context, String fromAction, String outcome)
{
...
ExternalContext extContext = context.getExternalContext();
...
String redirectUrl = viewHandler.getRedirectURL( ... );
...
extContext.redirect(redirectUrl);
...

No comments:

Post a Comment