cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: SQL taglib question
Date Fri, 01 Sep 2000 17:20:14 GMT
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:
> 
> <sql:execute-query>
> 	....
> 	select foo from bar where baz = 1
> </sql:execute-query>
> 
> <xsp:logic>
> 	if (foo.equals("something")) ...
> 	else ...
> 	...
> </xsp:logic>
> 
> 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


Mime
View raw message