 <p>If you getting <code>???myBean.myMsg</code> that means that it could not find <em>myBean.myMsg</em> string in your resource file...</p> <p>I guess you want to use the key inside the myBean.myMsg (and not the string <em>myBean.myMsg</em>)?</p> <p>In that case just remove the <code>''</code> that surrounds it</p> <pre><code>&lt;h:outputText value="#{resourceBundle[myBean.myMsg]}" /&gt; </code></pre> <p>Otherwise it will be used as a string and not as EL expression</p>