on 5/7/2000 9:40 AM, Neeme Praks <[EMAIL PROTECTED]> wrote:

> Hi all!
> 
> How is it possible to get access to the information about the request
> (getRemoteAddr and GetRemoteHost methods in Servlet API)?
> My logical guess was that they should be available as methods of RunData
> class, but I couldn't find such methods?
> 
> Please, point me in the correct direction if I overlooked something...
> 
> Neeme

The RunData contains references to the HttpServletRequest and
HttpServletResponse objects that are passing into a normal servlet.

RunData.getRequest()
RunData.getResponse()

So, if there isn't something that is not already cached in the RunData
object itself, you can get it from there. :-)

-jon

--
    Java Servlet Based - Open Source  |        Collab.Net
        Bug/Issue Tracking System     |
       <http://scarab.tigris.org/>    |  <http://Collab.Net/jobs/>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to