tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zebracmz (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (TAP5-791) How to get IP Address of client?
Date Fri, 24 Jul 2009 08:42:15 GMT

     [ https://issues.apache.org/jira/browse/TAP5-791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

zebracmz resolved TAP5-791.
---------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.18

This Object can do the job:
@Inject
private RequestGlobals  requestGlobal;

requestGlobal.getHTTPServletRequest();

> How to get IP Address of client?
> --------------------------------
>
>                 Key: TAP5-791
>                 URL: https://issues.apache.org/jira/browse/TAP5-791
>             Project: Tapestry 5
>          Issue Type: Question
>    Affects Versions: 5.0.18
>            Reporter: zebracmz
>             Fix For: 5.0.18
>
>
> There is an method getRemoteAddr() in HttpServletRequest.
> In Tapestry5, I get a Request object like this:
>                      @Inject
> 	private Request request;
> but i can not  find any method can get the remote address.
> anyone help?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message