I am trying to redirect to a jsp from another JSP. When I use HttpServletResponse.sendRedirect(componentRequest.getPrivateResourcePath()+"/pagelet/newPage.jsp"); I get Page cannot be dispayed error.
I might probably have to use IResource. Not sure how to redirect to another JSP using IResource.
Any help is highly appreciated.