cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject SQL taglib question
Date Fri, 01 Sep 2000 09:03:18 GMT
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.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

Mime
View raw message