This should be fine. What is wrong? Does it cause compilation errors?
Have you tried doing this and calling your testMethod() from within an
xsp:logic block inside your page element?
-Christopher
|---------+---------------------------->
| | Otmar Vobejda |
| | <[EMAIL PROTECTED]>|
| | |
| | 11/05/2003 05:40 |
| | PM |
| | Please respond to|
| | users |
| | |
|---------+---------------------------->
>--------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: Re: Recursive reading from database
|
>--------------------------------------------------------------------------------------------------------------|
Maybe stupid question, but how to insert ESQL tags inside <xsp:logic>
block? Next example is absolutly wrong:
<xsp:page ...>
<xsp:logic>
public void testMethod() {
<esql:connection>
<esql:pool>diplpool</esql:pool>
<esql:execute-query>
<esql:query>select id, name from test</esql:query>
<esql:results>
<esql:row-results>
<esql:get-string column="id"/>
<esql:get-string column="name"/>
</esql:row-results>
</esql:results>
<esql:no-results>Empty</esql:no-results>
<esql:error-results>Error!</esql:error-results>
</esql:execute-query>
</esql:connection>
}
</xsp:logic>
<page></page>
</xsp:page>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]