If you want to do it programmatically from an action,
You can try this method
/**
* Redirect to a new url
* @param url an external url
*/
void redirect(String url) throws IOException{
FacesContext facesContext = FacesContext.getCurrentInstance();
ExternalContext externalCtx = facesContext.getExternalContext();
externalCtx.redirect( url);
}
-Richard
On Sat, Oct 24, 2009 at 4:32 AM, Anton Gavazuk <[email protected]> wrote:
> Hi all,
>
> actually, question is in the subject: How to make redirect from JSF
> application to a page with another context, like www.google.com
>
> Thanks,
> Anton
>