As I understand it, you want to decide which JSP / HTML page you show the user.
In this case, this is what you need to do.
public void doView(RenderRequest req, RenderResponse res) throws IOException,
PortletException {
PortletRequestDispatcher prd =
getPortletContext().getRequestDispatcher("/WEB-INF/jsp/view.jsp");
prd.include(req, res);
}
You can decide every time jsp you want to get a query manager for.
source
share