FAQs
Search
Recent Topics
Flagged Topics
Hot Topics
Best Topics
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Paul Clapham
Ron McLeod
Bear Bibeault
Liutauras Vilda
Sheriffs:
Jeanne Boyarsky
Tim Cooke
Junilu Lacar
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Jj Roberts
Carey Brown
Bartenders:
salvin francis
Frits Walraven
Piet Souris
Forum:
JSP
Display Server names
vijaya soft
Greenhorn
Posts: 12
posted 15 years ago
HI!
In my application several servers are running.When a hit is made,I would like to know from which webserver i am getting the response.
Thanks
Vijaya.
vijayam
Naveen K Garg
Ranch Hand
Posts: 105
posted 15 years ago
Hi Vijay,
You can use the "req.getServerName()" method to get the name of the server in your
servlet
.
Thanks
Naveen
Are we home yet? Wait, did we forget the tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
56 bit Encryption/128 bit Encryption
Socket doubt
nx:All of URLy Bird1.1.3 about record lock
JRun Application Server - Bug.
how to make a j2me application as a background processs
More...