Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Eclipse Collections Categorically: Level up your programming game
this week in the
Open Source Projects
forum!
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
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
JSP
How to capture the server's name from the request?
Sean Gildea
Ranch Hand
Posts: 81
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Dear Ranchers,
I was wondering if anyone was familiar with a method of retrieving the name of the host server from the request or session.
I need to display it on a
JSP
page so our testers know which server is running that build.
Thanks!
SCJD, SCBCD, SCJP
Bear Bibeault
Sheriff
Posts: 67756
173
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have you looked at the API javadocs for the HttpServletRequest class?
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Sean Gildea
Ranch Hand
Posts: 81
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
got it
request.getServerName()
SCJD, SCBCD, SCJP
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to get servername from a request but not the cluster name?
Generate HTTP PUT request
How to request send to server or not
XML-RPC server deployment
File Download
More...