Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Extracting Client's IP

 
Sharon Adar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm running a jboss-4.2.0 server, and a java client uses one of my stateless.
How can I, in the stateless, get the current using client IP?
Thank you!
 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Try request.getRemoteAddr();

This should give you the client IP address

Hope this helps
 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can you get reuest in stateless?
She talked about stateless facade.

Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic