You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Cocoon User <co...@eng.gr> on 2002/12/15 20:21:13 UTC
xsp:logic pure java or not?
i have noticed that inside <xso:logic> we can have code (variables,
functions ..etc)
eg:
<xsp:logic>
private syncronized Date getToday(){
today = new Date();
}
</xsp:logic>
is it pure java or something else ?
is there any reference online out there ?
thnx
Stavro Kounis
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: logic pure java or not?
Posted by Geoff Howard <co...@leverageweb.com>.
it is pure java. xsp files are simply transformed (using xslt) into real
java files and compiled (not unlike jsp is parsed to compile a servlet
behind the scenes). If you have never gone to look at the resulting source,
I'd highly recommend it - it takes most of the mystery out of the process.
you can find them under the work directory of your servlet engine.
Geoff Howard
> -----Original Message-----
> From: Cocoon User [mailto:cocoon@eng.gr]
> Sent: Sunday, December 15, 2002 2:21 PM
> To: cocoon-users@xml.apache.org
> Subject: xsp:logic pure java or not?
>
>
> i have noticed that inside <xso:logic> we can have code (variables,
> functions ..etc)
>
> eg:
>
> <xsp:logic>
>
> private syncronized Date getToday(){
>
> today = new Date();
>
> }
>
> </xsp:logic>
>
> is it pure java or something else ?
>
> is there any reference online out there ?
>
>
>
>
> thnx
>
> Stavro Kounis
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>