This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Pick up server name as Browser page Title  RSS feed

 
Srinivasa Kadiyala
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to know a way to pick the server name ( Test, Dev or Production) and display as a title of the logon screen.

Eg:

If from Development server : Log-on Dev
If from Test server : Log-on Test
If from Production server : Log-on

Thanks in advance
 
Sanny kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use servletcontext interface.it gives informatiion abt the container.
 
Srinivasa Kadiyala
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Kumar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!