I've subclassed the ImgTag from Struts and created my own custom tag for
doing this kind of thing.   I gave some code examples of it in a past
message to this list that you could find in the archives.

    Erik


----- Original Message -----
From: "Thierry Cools" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 14, 2001 6:38 AM
Subject: <html:img question


Hi, after a long absence, I'm back again in the struts world ;-)

I have the following problem, I'd like to add an image on my page, where the
name of this image is stored in the database ( not the image itself, just
the pathlocation and the name);
So I've a form bean with a 'getImagePath()' method that returns a String.

But the name & property attributes in the img tag are already reserved for
multiple parameters,
so, the question is, how can I get my Image coming from my get method,
without using scriptlets and all that stuff ?

Thanks for your help,
Thierry




Reply via email to