cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien DEHAY>
Subject Re: what does xsp page returns when inserting into database using esql
Date Fri, 10 Dec 2004 23:03:39 GMT
Reuben Christie wrote:
> Hi i am learning xsp to do databse transactions. right now i m testing with
> insert into database.I am using esql logic the question is How do
> i return an xml tag with just value 'true' when the insertion is
> succesful..currently the xsp doent return anything.the only thing i get back
> is following
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>   <record-set xmlns:xsp=""
> xmlns:xspdoc=""
> xmlns:esql=""
> xmlns:xsp-request="" />
> but i want to add a tag like <result>succes</result>
> sounds simple and stupid but i just dont know how to do it

Something like this:

        <esql:query>here your insert</esql:query>
             <esql:get-update-count/> rows added


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message