📌  相关文章
📜  liferay renderrequest 获取 url 参数 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:19.045000             🧑  作者: Mango

代码示例1
public void doView(RenderRequest request, RenderResponse response) throws 
  PortletException, IOException {

HttpServletRequest requestInsideThePortlet = PortalUtil.getHttpServletRequest(request);

String myURLParam =
 PortalUtil.getOriginalServletRequest(requestInsideThePortlet).getParameter("myURLParam");

....
....
....
}