You can try to redirect manually, like this:
public String testAction()
{
ExternalContext ec = FacesContext.getCurrentInstance().getExternalContext();
ec.invalidateSession();
ec.redirect("login.xhtml"); // Or whatever servlet mapping you use
// redirect() invokes FacesContext.responseComplete() for you
return null;
}
[Message sent by forum member 'jkva']
http://forums.java.net/jive/thread.jspa?messageID=395135