xtags XPath expressions position() returns 0

2002-02-27 Thread office holpfer
Hi ! I'd like to use xtags and jsp and i can't find out the position in my XPath. I always got 0 as result for XPath Expression position() and last() I'm using Tomcat 4.0.1 and the example /xtags-examples/test/test_stylesheet.jsp does the same I tryed on Win and Linux I hope someone can help

Re: Will Using Tagged Libraries Affect Performance

2002-02-27 Thread Martin Cooper
I've seen the same reports of issues with performance and many Struts tags on a page, and I believe this is a container issue, not an inherent problem with tags. I'm a heavy user of Struts, and I have some pages with many hundreds of tags. (Enough that I've hit the JVM method size limit more than

Re: Will Using Tagged Libraries Affect Performance

2002-02-27 Thread Martin Cooper
I don't use Tomcat 4 on a regular basis, so I can't say too much about it. However, from comments I have seen on other lists, I am fairly certain that Tomcat 4 calls release() after every use of a tag handler, which is not required by the spec. (This is somewhat unfortunate, because people write t

RE: Will Using Tagged Libraries Affect Performance

2002-02-27 Thread keesj
On Wed, 27 Feb 2002, Maya Retzlaff wrote: > > 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

Re: Suppress whitespace generation?

2002-02-27 Thread Steve Morrison
I suggest the tag in the jstl (and probably other tags as well) should trim their content. Considering: ... ... ... ... produces 5 unnecessary newlines and spaces. Since you never expect content to be between a and a or it's probably ok to remove it. -Steve Shawn Bayern wrote:

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 tom

Re: Will Using Tagged Libraries Affect Performance

2002-02-27 Thread Burr Sutter
Many folks have reported issues with the Struts custom tags. Specifically in the areas of internationalizing every on screen piece of text as well as long select lists where the contents are dynamically generated via a custom tag. The alternative is to hard-code the mult-lingual translations into

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 would produce equivalent output to foo If you're suggesting, by contra

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 w

RE: Suppress whitespace generation?

2002-02-27 Thread Lomvardias, Christopher
Haven't heard any responses to my earlier question below. Thought I'd poke the list again. Chris -Original Message- From: Lomvardias, Christopher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 1:27 PM To: '[EMAIL PROTECTED]' Subject: Suppress whitespace generation? Hi, Ho

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, issu

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 attribut

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