cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: SQL INSERT problem
Date Thu, 08 Jun 2000 17:43:26 GMT
On Thu, 8 Jun 2000, mohamed ramzy wrote:

> hi
> i'm trying to insert data into a database by useing
> XSL XSP taglib,...i'm useing MYSQL database 
> i did the following
> 
>  <sql:execute-query> 
> <sql:driver>org.gjt.mm.mysql.Driver</sql:driver> 
> <sql:dburl>jdbc:mysql://localhost/Ramzy1</sql:dburl> 
> <sql:username>mrz</sql:username> 
> <sql:password>zocka</sql:password> 
> <sql:doc-element>ROWSET</sql:doc-element>
> <sql:row-element>ROW</sql:row-element 
> <sql:query>INSERT INTO pet   
> VALUES('<xsp:expr>usname</xsp:expr>',
>     
> '<xsp:expr>uspass</xsp:expr>',NULL,NULL,NULL,NULL)
>    </sql:query>
>   </sql:execute-query>
> 
> then i got the following error:
> 
> Error found handling the request.
> java.sql.SQLException: ResultSet is from UPDATE. No
> Data 
> 
> 
> does any 1 has any idea...

Sure, lots of 'em. What version of cocoon are you using? What database
and JDBC driver are you using? Can you send me a full strack trace?

- donald


Mime
View raw message