0 Replies Latest reply on Apr 7, 2008 7:44 AM by Sovanna Non

    .properties file and .xml file

    Sovanna Non Newbie


      JBoss Portal 2.4.1
      Jboss AS 4.0.4

      I'm having problems using a propertie file in order to set values in a .xml file.
      I have a "myapp.war" in "/deploy" directory.
      In this war, in the WEB-INF directory, I have a config.xml file having keywords in it.
      I have setted all keywords in "myapp.properties" under "/conf". Example :
      In "myapp.properties" : myapp.mypropertie=myvalue
      In "config.xml" : ${myapp.mypropertie}

      My problem is that the keywords aren't resolved at all.

      Thanks for the answers.