RE: Possible to assign SQL query result to XSP variable?

2001-08-20 Thread Chris Newland
arsson [mailto:[EMAIL PROTECTED]] > Sent: 20 August 2001 12:24 > To: [EMAIL PROTECTED] > Subject: AW: Possible to assign SQL query result to XSP variable? > > > Hi, > > try to wrap it in a xsp:logic block: > > ... > > &

AW: Possible to assign SQL query result to XSP variable?

2001-08-20 Thread Max Larsson
Gesendet: Montag, 20. August 2001 13:21 > An: Cocoon-Users > Betreff: Possible to assign SQL query result to XSP variable? > > > Hi All, > > I'm trying to test for the presence of a key in an SQL table > by performing > an SQL query and having the result (or null) set in a

Possible to assign SQL query result to XSP variable?

2001-08-20 Thread Chris Newland
Hi All, I'm trying to test for the presence of a key in an SQL table by performing an SQL query and having the result (or null) set in an XSP variable: checking for username = username String got_uname = "dummy"; my_jdbc select id from end