S
Shabs
Hi
I have a controller servlet (on env1-server1) which redirect to a jsp
on a different server (env1-server2). When i do a
request.getServerName() from the called jsp i get the jsp server name
(ie. env1-server2).
I have a similar setup of these 2 servers for another development
environment - env2-server1 for controller servlet and env2-server2 for
jsp. But here when i do a request.getServerName() from the called jsp
i get the controller servers name (ie. env2-server1)
I would appreciate if someone can tell me how this could happen, since
i think that the value i get from request.getServerName() in the 2nd
setup should be env2-server2.
Thanks
I have a controller servlet (on env1-server1) which redirect to a jsp
on a different server (env1-server2). When i do a
request.getServerName() from the called jsp i get the jsp server name
(ie. env1-server2).
I have a similar setup of these 2 servers for another development
environment - env2-server1 for controller servlet and env2-server2 for
jsp. But here when i do a request.getServerName() from the called jsp
i get the controller servers name (ie. env2-server1)
I would appreciate if someone can tell me how this could happen, since
i think that the value i get from request.getServerName() in the 2nd
setup should be env2-server2.
Thanks