Register / Login
Win a copy of
Java 9 Revealed
this week in the
Features new in Java 9
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Portals and Portlets
Cluster Portlets cookie problem
posted 11 years ago
I have 2 WAS servers with 2 Web servers with different IP address in a clusterd envi with a n/w dispatcher. I need a portlet with creates a cookie with the ClientIP and the HostIP of the webserver.
hostIP = InetAddress.getLocalHost().getHostAddress();
But when I use this piece of code it gives me the IP address of the WAS server and not the different Webservers.
Can soomeone please guide me on the steps to obtain the address of the WebServers.
Boost this thread!
Google automatic redirect
Domains of cookie query
RMI SocketPermission exception from Applet - works from Netbeans
how to lookup in distributed environment
Load managment system for travel agent client performance