Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • 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???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic