[jboss-user] [JBoss Portal] - Re: Problem with picture in portlet
je.a.le
do-not-reply at jboss.com
Mon Jun 2 04:21:14 EDT 2008
as said only the server "see" WEB-INF.
Put your images into the to directory (best a sub dir). If you use netbeans, this is the "Web pages" node.
project : ac.war
images inside gfx subdir
in netbeans --> ac.war/"web Pages"/gfx/myimage.png
in the war --> ac.war/gfx/myimage.png
in your jsp :
| <%@taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
| <portlet:defineObjects />
|
| <img href="${renderRequest.contextPath}/gfx/myimage.png" />
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154946#4154946
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154946
More information about the jboss-user
mailing list