If you want to keep you images out of the portal sar then you can do the following:
In your WebContent directory of your war/web app (or the directory where your WEB_INF dir
is located), make an 'images' directory and put all your images in there.
Then, in your jsp you can get to those images using code similar to this, assuming you
have an image named myimage.jpg in the images directory:
| <IMG SRC="<%= response.encodeURL(renderRequest.getContextPath() +
"/images/") %>myimage.jpg">
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957258#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...