> From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > Hi Harry, > > thank you for your reply. It tried the "request" variable. I tried to get > the session from the request but it didn't work. > <?xml version="1.0"?> > > <xsp:page xmlns:xsp="http://apache.org/xsp" > xmlns:xsp-session="http://apache.org/xsp/session/2.0" > create-session="true"> > > <xsp:structure> > <xsp:include>org.apache.cocoon.environment.Request</xsp:include> > <xsp:include>org.apache.cocoon.environment.Session</xsp:include> > </xsp:structure>
<xsp:logic> // Class declarations private static int counter = 0; </xsp:logic> <my-doc-root> > <xsp:logic> > //---- get the request > request.getSession(); > > </xsp:logic> </my-doc-root> > </xsp:page> > > The error message was: > > org.apache.cocoon.ProcessingException: Language Exception: > org.apache.cocoon.components.language.LanguageException: Error compiling > ShowRoute_xsp: > Line 70, column 22: <identifier> expected > Line 70, column 12: cannot access class getSession; file > request\getSession.class not found > Line 0, column 0: > 2 errors > > Do you have an idea, what could be the reason for this? Yes. See above. Vadim > Thank you, best regards > - Volker - > --------------------------------------------------------------------- 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]>