You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Echoes <ec...@free.fr> on 2000/05/15 13:29:08 UTC

How to...

  Hello,

 I'm building a small test application
with SQL taglib and XSP. What I want
to do is to ask the user a nickname
and password. If the nickname is
already used, "try again".

 So my xsp page must :

select nickname from users;

If there is a row returned,
tell the user to choose another nickname.

If no row is returned, insert
nickname and passwd in the database.

 I dont find a way to get the number
of rows returned by a query with the
SQL taglib. I can do it within the
xsl sytlesheet, but then how to make
the insertion ?

  Thanks

	Fabrice