更新时间:2023-01-03 19:08:23
可能是您正在使用PortletRequest
而不是HttpServletRequest
.
Chances are you're working with the PortletRequest
and not the HttpServletRequest
.
HttpServletRequest realRequest = PortalUtil.getHttpServletRequest(request);
String organization = realRequest.getParameter("org");