h:commandButton and attribute image

I cannot make work a h:commandButton that contains an image.When

the browser opens a see "a not found image" icon.

The code is

<h:commandButton image="/images/englishFlag.jpg"

actionListener="#{rushmore.listen}"

action="#{rushmore.act}"/>

However I don't thing there is any problem with the image Url since the following component displays the image with no problem

<h:graphicImage value="/images/englishFlag.jpg" style="border:0px"/>

Any suggestion?

[646 byte] By [juanitaJa] at [2007-11-26 16:19:05]
# 1
try taking out the leading slash.. ? Sorry not very useful but you never know. If you could give a mapping of your directories
jbayugaa at 2007-7-8 22:42:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I tried that already. Still it is not working...
juanitaJa at 2007-7-8 22:42:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...