Re: Will Using Tagged Libraries Affect Performance

2002-02-27 Thread rao srinivas
Hi, I too doubt about this. Please let me know. --- [EMAIL PROTECTED] wrote: Hi, I have got a basic doubt , Will using Tagged Libraries , affect performance Please do send any articles related to these. Thanks in advance Regards anushaa.j This e-Mail may contain

Re: Will Using Tagged Libraries Affect Performance

2002-02-27 Thread Burr Sutter
I think it could have a negative impact on performance. Why? Many servlet containers will instantiate and then throw away the tag handler class with each use on the page. So, if a tag handler requires lots of setup (e.g. connect to a database, issue a query, check some session or request

Re: Will Using Tagged Libraries Affect Performance

2002-02-27 Thread Shawn Bayern
On Wed, 27 Feb 2002, Burr Sutter wrote: I think it could have a negative impact on performance. Why? Many servlet containers will instantiate and then throw away the tag handler class with each use on the page. So, if a tag handler requires lots of setup (e.g. connect to a database, issue a

RE: Suppress whitespace generation?

2002-02-27 Thread Reynir Hübner
I guess you could write a filter that parses out all the linefeeds not wanted in the response. hope it helps -reynir -Original Message- From: Lomvardias, Christopher [mailto:[EMAIL PROTECTED]] Sent: 27. febrúar 2002 16:33 To: 'Tag Libraries Users List' Subject: RE: Suppress

RE: Suppress whitespace generation?

2002-02-27 Thread Shawn Bayern
Hi Chris, The question is somewhat general. For instance, depending on your needs, you can write a tag that trims its BodyContent (using String.trim()) and simply contain other tags within it. So that: foo:trim foo /foo:trim would produce equivalent output to

RE: Will Using Tagged Libraries Affect Performance

2002-02-27 Thread Maya Retzlaff
It has been suggested that tomcat 4s handing of taglibs isn't as optimized as the rest of the server. Do you guys know anything more about it and in that case can it be that the Struts tags issue mentioned below is partly due to this problem ? I guess this issue might also be asked on the

Re: Suppress whitespace generation?

2002-02-27 Thread Steve Morrison
I suggest the choose tag in the jstl (and probably other tags as well) should trim their content. Considering: c:choose c:when test=$param:foo == 'bar1'.../c:when c:when test=$param:foo == 'bar2'.../c:when c:when test=$param:foo == 'bar3'.../c:when c:otherwise.../c:otherwise /c:choose