Hi, your code is at the wrong place.
the first <xsp:logic> child under <xsp:page> is used to declare class level stuff (function declaration ...). You have to move your xsp-logic stuff. please try this structure: <xsp:page> <xsp:structure> ... </xsp:structure> <page> <xsp:logic> <!-- here comes your logic stuff --> .... </xsp:logic> <util:include-uri> <util:href> <xsp:expr>xsp_return_url</xsp:expr> </util:href> </util:include-uri> </page> </xsp:page> hth, frank --------------------------------------------------------------------- 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]>