RE: RequestUtils.computeURL()

2003-03-10 Thread James Mitchell
> -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] > Sent: Monday, March 10, 2003 12:24 PM > To: Struts Developers List > Subject: RE: RequestUtils.computeURL() > > > > > On Mon, 10 Mar 2003, James Mitchell wrote: > > >

RE: RequestUtils.computeURL()

2003-03-10 Thread Craig R. McClanahan
On Mon, 10 Mar 2003, James Mitchell wrote: > Date: Mon, 10 Mar 2003 11:44:01 -0500 > From: James Mitchell <[EMAIL PROTECTED]> > Reply-To: Struts Developers List <[EMAIL PROTECTED]> > To: 'Struts Developers List' <[EMAIL PROTECTED]> > Subject: RE:

RE: RequestUtils.computeURL()

2003-03-10 Thread James Mitchell
bye Kierkegaard (1813-1855) > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] > Sent: Monday, March 10, 2003 11:35 AM > To: Struts Developers List > Subject: Re: RequestUtils.computeURL() > > > > > On Mon, 10 Mar 2003, James Mitchell

Re: RequestUtils.computeURL()

2003-03-10 Thread Craig R. McClanahan
On Mon, 10 Mar 2003, David Graham wrote: > Date: Mon, 10 Mar 2003 08:27:32 -0700 > From: David Graham <[EMAIL PROTECTED]> > Reply-To: Struts Developers List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: RequestUtils.computeURL() > > >Is there any

Re: RequestUtils.computeURL()

2003-03-10 Thread Craig R. McClanahan
On Mon, 10 Mar 2003, James Mitchell wrote: > Date: Mon, 10 Mar 2003 10:01:16 -0500 > From: James Mitchell <[EMAIL PROTECTED]> > Reply-To: Struts Developers List <[EMAIL PROTECTED]> > To: Struts Developers List <[EMAIL PROTECTED]> > Subject: RequestUtils.computeURL() > > > Is there any reason tha

RE: RequestUtils.computeURL()

2003-03-10 Thread James Mitchell
ED] > Sent: Monday, March 10, 2003 11:13 AM > To: Struts Developers List > Subject: RE: RequestUtils.computeURL() > > > Except that the doc for says: > > Renders an HTML element with the image at the specified > URL. Like the link > tag, URL rewriting will b

RE: RequestUtils.computeURL()

2003-03-10 Thread David Graham
e 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] > &g

RE: RequestUtils.computeURL()

2003-03-10 Thread Kris Schneider
> > -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

RE: RequestUtils.computeURL()

2003-03-10 Thread James Mitchell
ierkegaard (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

Re: RequestUtils.computeURL()

2003-03-10 Thread David Graham
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 & itself without calling computeURL.

RE: RequestUtils.computeURL()

2003-03-10 Thread Nick Coleman
Only that unnecessary calls to the URLEncoder.encode within the computeURL method adds excess overhead that is not always needed. If encoding a url could be optionally turned on / off, performance would be better. The URLEncoder instantiates a ByteArrayOutputStream and a BufferedWriter which can