another tidbit, the following link displays the gif file properly

http://localhost:8080/myApp/jsp/images/portGraph.gif


On 5/11/05, David Johnson <[EMAIL PROTECTED]> wrote:
> 
> The full img tag includes some el tags which werent coming out properly 
> with a normal img tag :( I tried that first :)
> 
> the URL when this page is up is : 
> http://localhost:8080/myApp/portfolio.action but the base href is:
> 
> <base href="http://localhost:8080/myApp/jsp/layouts/siteLayout.jsp
> ">
> 
> 
> 
> <html-el:img src="../jsp/images/portGraph .gif" 
> onclick="set('portfolioGraph');javascript:setPortName('${
> refPortfolio.refPortfolioDesc}');document.forms[0].submit();"/>
> 
> how can I embed the above el stuff in a notmal img tag, and also within a 
> JS call?
>  
> 
> On 5/11/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > 
> > From: "David Johnson" <[EMAIL PROTECTED]>
> > > Any thoughts on this? I tried
> > > <html-el:img src="../../jsp/images/portGraph.gif"
> > > but that is an illegal argument :( 
> > 
> > What is the URL in the browser window when it's trying to load the 
> > image?
> > Images are requested separately by the browser after the page is loaded.
> > The URL for the image needs to be relative to the "page" the browser 
> > thinks 
> > it loaded, not the location of the JSP files.
> > 
> > BTW, it looks like a plain old HTML <img src="..."> tag would work fine
> > here, why suffer the overhead of a taglib when there is no dynamic 
> > content? 
> > 
> > --
> > Wendy Smoak
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> -- 
> -Dave
> [EMAIL PROTECTED] 




-- 
-Dave
[EMAIL PROTECTED]

Reply via email to