| Author |
How to capture the server's name from the request?
|
Sean Gildea
Ranch Hand
Joined: Jul 01, 2004
Posts: 81
|
|
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
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
|
Have you looked at the API javadocs for the HttpServletRequest class?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Sean Gildea
Ranch Hand
Joined: Jul 01, 2004
Posts: 81
|
|
got it request.getServerName()
|
 |
 |
|
|
subject: How to capture the server's name from the request?
|
|
|