Re: unable to load class out

2003-07-02 Thread Michael Duffy
The fact that you needed the JARs in the WEB-INF/lib comes as no surprise - after all, they do tell you to put them there in the on-line docs under "Using a Custom Tag Library in Your Application". But you don't need to copy the TLDs. They're already inside the standard.jar. There have been sev

Re: unable to load class out

2003-07-02 Thread Neil Zanella
Hello, I would like to mention that I solved the problem by simply copying all the .tld (tag library descriptor) files of interest that came with jakarta-taglibs to my WEB-INF directory and all the corresponding .jar (Java archive) files to my WEB-INF/lib directory. I still find this is a little

upgrade problem

2003-07-02 Thread Þorgils Völundarson
Hi, I installed version 4.1 of Tomcat on a new machine, was using 4.0. Put all the same env variables as were on the old system and copied my projects to the same position as they were before. Tomcat runs o.k., so do the examples but my jsp pages give this error: type Exception report message

Re: Stored procedure (RFI proposal)

2003-07-02 Thread Michael Duffy
Do you mean you want to batch commands, the way the java.sql.Statement.addBatch allows you to? That would be useful to lots of people, I'll bet. I think that would require tag changes, too. I can see a tag that could have multiple children. Do they do such a thing in Jakarta's DBTags tagli

Re: Stored procedure (RFI proposal)

2003-07-02 Thread James Smith
I was actually dealing with a similar problem yesterday; I wanted to write a tag that called not a stored procedure, but several SQL statements in a row, using a dataSource, just like I would use for tags. After looking through the source code, I noticed that the abstract classes org.apache.tagli

Re: Accessing static variables

2003-07-02 Thread Henri Yandell
The unstandard taglib provides a way to get at these static variables: http://jakarta.apache.org/taglibs/sandbox/doc/unstandard-doc/intro.html On Wed, 2 Jul 2003, Capr1ce wrote: > > I'd just like to agree that this is quite annoying. If I have any static > variables that I need to access from J

Re: Stored procedure

2003-07-02 Thread Michael Duffy
Not if the underlying implementation isn't using CallableStatement. Stored procs can have in, out, and inout parameters. They can also return multiple ResultSets. When I look at the java.sql.CallableStatement javadocs, it seems clear to me that it's a very different animal from Statement and

Re: Stored procedure

2003-07-02 Thread Xavier Prélat
sql taglib does not support Stored Procedure. You should write your own custom tags. Here is a link for Stored procedure manipulation in Java http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html /Xavier Daniel Montero a écrit: I believe you can just do something like just like any othe

RE: Stored procedure

2003-07-02 Thread Kevin Passey
You are correct there(CallableStatement) - looks like I'm going to write my own. I had a scan thru the taglibs as well. Thanks anyway Kevin -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: 01 July 2003 19:25 To: Tag Libraries Users List Subject: Re: Stored procedu

Re: Accessing static variables

2003-07-02 Thread Capr1ce
I'd just like to agree that this is quite annoying. If I have any static variables that I need to access from JSP pages, I set them as application scope variables in a load on startup servlet. Annoying, but it's not a bad work around. At 10:47 PM 01/07/2003 -0500, you wrote: I searched throug