JC,
try this instead:
<xsp:logic>
String toto = <esql:get-string column="CONTENT"/>;
</xsp:logic>
Depending on where you need to use "toto", you may need to declare it
outside your <esql:connection> node, like this:
<xsp:logic>
String toto = "";
</xsp:logic>
<esql:connection>
...
<xsp:logic>
toto = <esql:get-string column="CONTENT"/>;
</xsp:logic>
...
</esql:connection>
// now you can use toto here
-Christopher
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: esql => xsp
Hello everybody,
I use C1.8.2 on tomcat.
I want to know if it's possible to keep esql result to
put it in a xsp java variable !
I try this :
<xsp:logic><![CDATA[
string toto = <esql:get-string column="CONTENT"/>;
]]></xsp:logic>
It's not compile
Thank for your help
JC
--------------
Profitez de l'offre spéciale Liberty Surf !
50 h / 95 F TTC par mois tout compris pendant 3 mois
http://register.libertysurf.fr/subscribe_fr/signup.php3
---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>