any API equalent to httpservletrequest.getRemoteAddr() In PortletRequest

Hi all,

Iam using Vignette Aplication Portlet withspring framework.

i had requirment where i need to implement httpservletrequest.getRemoteAddr() equalent stuff using PortletRequest.

i tried to get HttpServletRequest from PortletRequest using the below

code, but its returning null.

HttpServletRequest httpRequest = (HttpServletRequest) renderRequest.getAttribute("javax.portlet.portletc.httpServletRequest");

In short i need to get Remote Ip addres of the machine from where the request came, usingPortlet request.

Can any body help

Thanks and Regards

Biju M

Message was edited by:

itsforme

Message was edited by:

itsforme

[712 byte] By [itsformea] at [2007-11-26 14:33:59]
# 1
is this of any help to you? http://www.gridlab.org/pipermail/gridsphere-dev/2004-December/002431.html
thekkadatha at 2007-7-8 2:29:59 > top of Java-index,Web & Directory Servers,Portal Servers...