How to read Weblogic property file.

Discussions

EJB design: How to read Weblogic property file.

  1. How to read Weblogic property file. (3 messages)

    How to read Weblogic property file to get the environment?
    I have a need to get what environment I am loggin into (dev, qa, prod).
    How do I read weblogic property file to find out what environment I am logging into from a Java bean?

    thanks, Saad.
  2. How to read Weblogic property file.[ Go to top ]

    Are you talking about the weblogic.properties file?

    --
    Tinou
    www.tinou.com
  3. How to read Weblogic property file.[ Go to top ]

    Yes.
  4. Call getProperty on the ConfigServicesDef interface to get whatever property u wanna access from weblogic.properties file.
    String property =
      t3.services.config().getProperty(PROPERTY_NAME);


    cheers!
    --RG