Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

is there any way to get the current context?

807589Aug 7 2008 — edited Aug 8 2008
Hello.

I'm developing with tomcat 5.5, java 1.5_13, netbeans 5.5 and i have a java application bassed on webservices.

I need to get ip client in the webservice for do statistics
I'm trying to get remote address and i'm testing to get the current context because this way i have access to method getRemoteAddr, but i don't know how to get that current context.

Thanks in advance.

Edited by: yoytuyel on Aug 7, 2008 4:09 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 5 2008
Added on Aug 7 2008
7 comments
120 views