I want to use below code in a portlet that created by Liferay IDE to obtain ServletCotext. ServletContext sc = ((PortletContextImpl)req.getPortletSession().
確定! 回上一頁