On Tue, 24 Jul 2001, Stefano Bonnin wrote:

> <page>
> <xsp:logic>
>         HttpSession ses = request.getSession(false);
>         InfoUser userInfo = (InfoUser) ses.getValue("Informations");
>         String id = (String) userInfo.getUserId(); <!-- Here is all OK -->
> </xsp:logic>
>
>   <esql:execute-query>
>
>     <esql:driver>sun.jdbc.odbc.JdbcOdbcDriver</esql:driver>
>     <esql:dburl>jdbc:odbc:Users</esql:dburl>
>
> <esql:query>
>  update users set country = '
>   <xsp:expr>request.getParameter("country")</xsp:expr>' where user =
> '<xsp:expr>id</xsp:expr>' and password = 'd'
> </esql:query>
> </esql:execute-query>

you're using an old, invalid version of the esql schema. see a current
example in either the c1 or the c2 repositories. and this is more relevant
on cocoon-users (though i'm afraid i haven't had time to keep up with that
list in a few weeks) than cocoon-dev.

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to