Except that the doc for <html:img> says:

Renders an HTML <img> element with the image at the specified URL. Like the link
tag, URL rewriting will be applied automatically to the value specified in src
or page, to maintain session state in the absence of cookies. This will allow
dynamic generation of an image where the content displayed for this image will
be taken from the attributes of this tag.

So ImgTag already does URL rewriting, doesn't it?

Quoting James Mitchell <[EMAIL PROTECTED]>:

> That was my initial thought, but wanted to bounce it off a few other
> people first.
> 
> 
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://jakarta.apache.org/struts
> 
> "People demand freedom of speech to make up for the freedom of thought
> which they avoid."
>     - Soren Aabye Kierkegaard (1813-1855)
> 
> 
> 
> 
> > -----Original Message-----
> > From: David Graham [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, March 10, 2003 10:28 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: RequestUtils.computeURL()
> > 
> > 
> > >Is there any reason that any tag should NOT call computeURL when
> > >evaluating a URL that needs a parameter of Map entries added?
> > 
> > computeURL also encodes the url with session information which isn't 
> > desirable for images.  Maybe ImgTag should just replace & 
> > with &amp; itself 
> > without calling computeURL.
> > 
> > David
> > 
> > _________________________________________________________________
> > Protect your PC - get McAfee.com VirusScan Online  
> > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to