Hi, I have one query regarding following question:
Q. Given the request from mybox.certkiller.com, with an IP address of 10.0.1.11 on port 33086. Place the appropriate ServletRequest methods onto their corresponding return values:
Proxy-Client settings ServletRequest methods
mybox.certkiller.com <<insert code here>
10.0.1.11 <<insert code here>>
33086 <<insert code here>>
The given
servlet methods are:
getServerPort
getServerAddress
getServerName
getRemotePort
getRemoteAddress
getRemoteHost
The answer to this question is given as getRemoteHost for all the above mentioned proxy-client settings.
But according to the understanding, it shoud be like this:
mybox.certkiller.com :: getRemoteHost
10.0.1.11 :: getRemoteAddress
33086 :: getRemotePort
Kindly send the response...
[ August 25, 2008: Message edited by: sonali sabnis ]