From balld@webslingerZ.com Fri Sep 1 17:17:28 2000 Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 4655 invoked from network); 1 Sep 2000 17:17:28 -0000 Received: from unknown (HELO ma7.webslingerz.com) (216.27.73.7) by locus.apache.org with SMTP; 1 Sep 2000 17:17:28 -0000 Received: by ma7.webslingerz.com (Postfix, from userid 501) id AC1D4480F; Fri, 1 Sep 2000 13:20:14 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by ma7.webslingerz.com (Postfix) with ESMTP id A95AC6087 for ; Fri, 1 Sep 2000 13:20:14 -0400 (EDT) Date: Fri, 1 Sep 2000 13:20:14 -0400 (EDT) From: Donald Ball To: cocoon-users@xml.apache.org Subject: Re: SQL taglib question In-Reply-To: <39AF70D6.E15339C3@denic.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Fri, 1 Sep 2000, Ulrich Mayring wrote: > Hi, > > is it possible to access the result of an SQL taglib query in the same > XSP page? Something like this: > > > .... > select foo from bar where baz = 1 > > > > if (foo.equals("something")) ... > else ... > ... > > > The only way I could think was to use response.sendRedirect after the > SQL query and redirect to the same page, but passing on the result of > the query as a request parameter. not using the sql logicsheet, no. you can do it using the esql logicsheet though. - donald