Do you only use jboss?
the problem is not about jboss but the img call
When you use the special "jsp:include" tag the jsp will not be compiled directly, but it will be included into the calling JSP.
So, you have to double check that the image you are calling is referred to the level on wich the JSP is called.
If you are using FireFox, get the Web Developer add-on. It has a bunch of great tools that can tell you everything about your images, including the URL it thinks the image should be pulled from. That will help you diagnose problems such as the one erasmomarciano mentioned.