[jboss-user] [JBoss Portal] - Re: load image in portlet

Soon5 do-not-reply at jboss.com
Fri Nov 30 02:11:48 EST 2007


I assume that you have an image-Folder in your WAR File.
Then use this code-snippet in your JSP, or adapt it in your doView Method.

  | <img src="<%= request.getContextPath() %>/images/imagename.gif" />

Greetings Soon5

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109157#4109157

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109157

More information about the jboss-user mailing list