cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: xsp:expr & esql
Date Tue, 24 Jul 2001 16:41:34 GMT
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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message