redirect « Liferay « JSP-Servlet Q&A





1. redirect to jsp page from DefaultLandingPageAction    liferay.com

HI, In my case, i want to redirect to jsp page from LogingPost Action class in one specific condition.. for, that i have written following line in run() method. Map params = new HashMap(); params.put("p_l_id", new String[] {"PUB.1.1"}); LastPath lastPath = new LastPath("/c", "/portlet/ext/asite/AllreadyLoginView.jsp",params); HttpSession session = request.getSession(); session.setAttribute(WebKeys.LAST_PATH, lastPath); this code is executing, but my jsp page is not getting ...