You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paolo <la...@arsenio.net> on 2001/08/23 18:21:29 UTC
Debugging XSP generated code...
Is it possibile to save or debug XSP-generated Java code?
I am trying to create a XML using the ESQL logicsheet to access an
Interbase table, and this is my code:
<xsp:page language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
xmlns:esql="http://apache.org/cocoon/SQL/v2">
<esql:connection>
<esql:pool>mypool</esql:pool>
<esql:execute-query>
<esql:query>SELECT * FROM ROOMS</esql:query>
<esql:results>
<esql:row-results>
<room>
<id><esql:get-string column="id"/></id>
</room>
</esql:row-results>
</esql:results>
<esql:no-results>
</esql:no-results>
</esql:execute-query>
</esql:connection>
</xsp:page>
Cocoon gives me:
Exception in
ServerPagesGenerator.generate():java.lang.NullPointerException
What's it?
Cordiali saluti,
Paolo Scaffardi
AIRVENT SAM S.p.A.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>