RE: Stored procedure (RFI proposal)

2003-07-15 Thread Martin van Dijken
Heh, Always nice to see a discussion like this, instead of having it turn into a stupid flamewar. I have to agree with James Mitchell that it is very true that not everybody has the opportunity nor the time to really LEARN j2ee programming. In that aspect the sql-tags do indeed make for a

Need Help Getting Taglibs Working

2003-07-15 Thread C F
Hello, I tried for many hours to get Taglibs working with Tomcat. I'm at my wit's end! Hopefully someone here can help. I'm using Tomcat tomcat-4.1.24 and jakarta-taglibs-20030713 nightly build. I'm trying to get the standard JSTL 1.0 tags working. When I copy the jars from

how to ask length of collection in JSTL tags

2003-07-15 Thread Dmitri Ilyin
Hi, how can i get the length(size) of the collection?? I have a collection in page scope and i'd like to check the length of this collection. I use c:if test=${collection.length == 1} that's it /c:if collection.length returns always 0. the same with collection.size and

RE: how to ask length of collection in JSTL tags

2003-07-15 Thread Karr, David
As you may know by now, the EL in this version only allows you to access javabean properties, and collection and map entries. You can't directly get the length of a map or collection. What I've done recently is implement a small class called CollectionBean which has two javabean properties of

Re: how to ask length of collection in JSTL tags

2003-07-15 Thread Eric W Hauser
Although the bean idea is a good workaround, that may not be the most efficient way to do this for a large application with a large of collections. Since object created is one of the most expensive tasks in Java, it may be more efficient to come up with a different solution than using a bean as a

Re: Need Help Getting Taglibs Working

2003-07-15 Thread C F
Thanks for your response Henri. I have or have tried things similar to what you are suggesting below and I believe all of my URIs are correct. So I have two questions for you 1) Are both the jars *and* the tld's required? I thought I read that only the jars are now required. 2)

Re: Need Help Getting Taglibs Working

2003-07-15 Thread C F
Thanks for your response Henri. I have or have tried things similar to what you are suggesting below and I believe all of my URIs are correct. So I have two questions for you 1) Are both the jars *and* the tld's required? I thought I read that only the jars are now required. 2)

Re: Need Help Getting Taglibs Working

2003-07-15 Thread Henri Yandell
On Tue, 15 Jul 2003, C F wrote: Thanks for your response Henri. I have or have tried things similar to what you are suggesting below and I believe all of my URIs are correct. So I have two questions for you 1) Are both the jars *and* the tld's required? I thought I read that only

Re: Need Help Getting Taglibs Working

2003-07-15 Thread C F
Even the standard-examples.war application does not work so I'm wondering if it's not necessarily my taglib configuration. I began to wonder if I had some weird XML library in my path that was hosing everything up. So I reinstalled my JDK (1.4.1_02) and Tomcat... but it had no effect. Okay,

Re: Need Help Getting Taglibs Working

2003-07-15 Thread C F
Thanks to all who helped me... and thanks to Kris who helped me clean a lot of junk out of my app to help narrow down the problem! It turns out that it was the version of taglib I was using. I still don't entirely understand the link/directory structure under the jakarta binaries download page.

Re: Displaying SQL being executed

2003-07-15 Thread Henri Yandell
P6Log at: http://www.p6spy.com/ can do this for you. Hen On Tue, 15 Jul 2003, Narayan, Anand wrote: Is there any way to tell the SQL tags to show/log all the sql statements being executed. Thanks Anand - To