This content has been marked as final.
Show 3 replies
-
1. Re: Problem with Image in a Portlet
roy.russo May 10, 2006 6:07 PM (in response to landinw)The portal instance is irrelevant, if you're fetching the img from your war:
<img src="<%= renderRequest.getContextPath() %>/jsp/images/map.jpg"/>
-
2. Re: Problem with Image in a Portlet
landinw May 10, 2006 6:22 PM (in response to landinw)Thanks Roy, but how do I get my hands on the renderRequest object from within the jsp? I'm getting a cannot resolve error when generating the servlet.
Please bear with me - I've been working with JBoss Portal for 2 whole days! -
3. Re: Problem with Image in a Portlet
roy.russo May 10, 2006 6:26 PM (in response to landinw)Read this: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=82540
Notice how he declares defineobjects at the top. You may want to look through the spec. Its REALLY easy reading and will explain a lot of this to you faster than we can in the forums.