This content has been marked as final.
Show 3 replies
-
1. Re: How to redirect to absolute URL in an action?
benmoore Aug 22, 2008 5:02 PM (in response to benmoore)p.s. I only have the URL at runtime, not compile-time, so I cannot put the URL in pages.xml
-
2. Re: How to redirect to absolute URL in an action?
mail.micke Aug 22, 2008 5:06 PM (in response to benmoore)If you are fine with doing it programatically there is a sendRedirect in the HttpServletResponse class.
-
3. Re: How to redirect to absolute URL in an action?
dustismo Aug 22, 2008 6:52 PM (in response to benmoore)this also works:
FacesContext.getCurrentInstance().getExternalContext().redirect(url);
-Dustin