Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

any API equalent to httpservletrequest getRemoteAddr() In PortletRequest

 
Biju moozhikkara
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 simple words i need to get remote Ip address from where the request came using Portlet request

Can any body help

Thanks and Regards

Biju M
[ January 09, 2007: Message edited by: Biju muzhikara ]
 
Alex Sotin
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, I'm not sure, but U think this link can help you.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic