[jboss-user] [JBoss Portal] - Re: Problem with picture in portlet

PeterJ do-not-reply at jboss.com
Fri May 30 13:35:14 EDT 2008


If your portlet is packaged in a WAR file named xxx.war, and the picture is located at images/some.jpg, then the following code within a JSP will display the image:

<img src="/xxx/images/some.jpg" />

If that does not help you, could you post the code within the JSP that references the picture? (Bracket the code with [ code ]..[/ code ] tags, to do so, select the code an click the Code button) Also, post the contents of your WAR file (jar -ft xxx.war).

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

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



More information about the jboss-user mailing list