Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems loosing the ip address from clients

Status
Not open for further replies.
Aug 15, 2002
1
MX
How to obtain the ip address of the clients instead of the ip address of the web server in weblogic 6.1 sp 3?

The clients connect to our system first to apache as web server.
Then Apache connects to weblogic server using the weblogic plug-in.
When we realize the connection between apache to weblogic we need that weblogic server receive the ip of the client instead of the ip address of the web server(apache).
 
Have you tried using the HttpServletRequest.getRemoteAddr() method in your code? I am assuming that this code will exist in a JSP or servlet, this information should be available to you. If not here, then in the header (HttpServletRequest.getHeader(<xxx>), i can't remember the exact key to use here, experiment by calling getHeaderNames() method...

good luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top