Hi, i need to get client's ip in portlet, and all my tries failed :(
If we use servlet, it's easy - ((ServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest()).getRemoteAddr();
Other try - Instead of getRemoteAddr(), i used getRemoteUser() cause the first one does not exists for PortletRequest but it return null.
so from portlet all my research said - mission imposible.
Does anyone found a solution ?