You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jeremy Nix <Je...@sfsltd.com> on 2003/05/22 14:56:19 UTC
not working
I am utilizing the <html:img> tag within my code so that I can reference
my image relatively without explicitly specifying the web application
that I'm within (<html:base/> was used). So, the following code:
<html:html>
<head>
<html:base/>
<title>View Product</title>
</head>
<body>
<table>
<tr>
<td><html:img page="/images/logo_small.gif"
style="border-width:0"/></td>
</tr>
...
Produces the following html image:
<img
src="/sfs/images/logo_small.gif;jsessionid=EC3BA5EC9C989527386BE5CD4722B
F42.tomcat1" style="border-width:0">
Which does not display correctly. When I refresh the page, the image
src is recomputed to the correct url (minus the jsessionid). This is
the only page that I've seen this occur in, so there is a good chance
that its my code, but I can't see what I'm doing that could cause this.
Let me know, and I can post the entire code.
_________________
Jeremy Nix
Senior Application Developer
Southwest Financial Ltd.
Jeremy.Nix@sfsltd.com
(513) 621-6699 ext 1158