Hi
I would like to redirect to a page outside od portal. i tried
portalContext.getPortalResponse().getResponse().sendRedirect("URL");
return null; //null PortalURI
nothing is happening , Any help is appreciated.
Hi Surendra,
To my knowledge, you cannot do this by simply adding response.sendRedirect() like you would with a regular JSP.
Instead, you need to create a new secondary page and a DisplayRequest class that executes as the secondary page loads. You can then put the sendRedirect code in your DisplayRequest class.
There's a pretty good description of how to create secondary pages and execute DisplayRequest classes in the VAP developer's guide.
Hope this helps,
Eoin.