portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chambers, Shane" <scham...@telcordia.com>
Subject RE: How to display image in portlet?
Date Tue, 03 Nov 2009 14:03:38 GMT
Modify the view.jsp file, add something like:

<img width='32' height='32' src='<%=request.getContextPath()%>/images/myimage.jpg'
style='cursor: crosshair;' onclick='javascript:myAction();'>

From: Robert Walthall [robert.walthall@npss911.com]
Sent: Tuesday, November 03, 2009 2:44 AM
To: jetspeed-dev@portals.apache.org
Subject: How to display image in portlet?

Hi All,  I need to learn how to add an image to a page.  I created a Welcome
page, added the Welcome to Jetspeed portlet, found the welcome.html file,
and I can edit the file and change the text that is displayed on the page.
However, when I try to add an image (using standard html tags) <img
src="image.jpg">, I get no joy.

Any tips would be much appreciated.


To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message