1 Reply Latest reply on Jun 6, 2008 5:05 PM by eric jung

    Help injecting a message from messages.properties

    eric jung Newbie


      I'm trying to inject a messages.properties message into a session bean.

      private String findUserByIdSQL;

      Sometimes this notation works, but in other injections on other session beans it doesn't work. When it doesn't work, the value of findUserByIdSQL is messages.findUserByIdSQL (in other words, the key I'm trying to lookup). It's as if a new Messages object is being created and not finding messages.properties.

      Anyone know what I'm doing wrong?