cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cparp...@t-online.de (Christian Parpart)
Subject XSP and SQL in a well formed .XML: but got an Syntaxerror by SQL
Date Tue, 14 Nov 2000 15:11:18 GMT
Hi

I wrote a short module (land-data.xml) using XSP and SQL inside.
Cocoon-1.8 always says there is an Syntaxerror! Why?

  <sql:query>
    SELECT Name, Kontinent
      FROM Land 
      WHERE Name='<xsp:expr>request.getParameter("Name")</xsp:expr>';
  </sql:query>

What's wrong? (see attachment)

Regards,
Christian Parpart
mailto:cparpart@surakware.com
http://www.surakware.com (new http://surak.cocoonhsot.com)
Mime
View raw message