Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Is it possible to retrieve the IP address of a Java Client ?
On 19 jun, 12:16, Laura <f.marchi..._at_pride.it> wrote:
> Dear all,
> I have a Servlet Java which invokes a Stored Procedure.
> Inside the stored procedure I need to retrieve the IP address or
> machine name of the client (the servlet).
> Unfortunately I cannot change the Stored Procedure by adding one more
> parameter (the client IP).
>
> Is there any function which I can use to retrieve the IP address of
> the servlet ?
>
> Note: the Servlet runs on a different machine then the
> Database.....
>
> Thanks
> Laura
Not sure about what you are after, but SYS_CONTEXT function (HOST, IP_ADDRESS...) may help you.
HTH Cheers.
Carlos. Received on Tue Jun 19 2007 - 06:04:05 CDT
![]() |
![]() |