Just write the response with dynamic code that puts the correct name in the HTML, assuming that you are talking to a browser with response objects that are HTML.
For example, <img src='whatever8829382.png'> might come from <img src='<c:out value="${whateverVar}"/>'>. Whatever you do, it has to end up with good old HTML. Actually, I do all my images as <img src='whateverAction.do?file=<c:out value="${whateverVar}"/>'>. This allows me to disguise the name of the file. Jack On Tue, 18 Jan 2005 10:43:07 -0500 (EST), Charles A Jordan <[EMAIL PROTECTED]> wrote: > Hello All, > I have a struts application which creates image (png) files which have the > session ID embedded in the name to make them unique. How do I display these > in my jsp? I can add the names to my actionform, but I don't know how to > display the images. > Any help would be greatly appreceated. > > Charles (Allen) Jordan <[EMAIL PROTECTED]> > System Administrator (407)771-8919 > Convergys > 285 International Parkway, > Lake Mary, FL 32746-5007 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ------------------------------ "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ "You can't wake a person who is pretending to be asleep." ~Native Proverb~ "Each man is good in His sight. It is not necessary for eagles to be crows." ~Hunkesni (Sitting Bull), Hunkpapa Sioux~ ----------------------------------------------- "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]