• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to display the mode of the application?

 
Skip Jack
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to display the mode of the application, say, whether it is working in Development or QA server using java.?
I am stuck at this part. If the application is working in development server, it has to display DV and if it is in QA server, it has to display QA.
I tried to put the info about the server in a an xml file & tried to access the values using ResourceManager.getInstance(null).get().But it returned null.
Can anybody out there can help me???
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!