Never mind, sorry... I found the problem. I had neglected to put a <page> element around the stuff inside the <xsp:page> element. Not sure why that caused the error in question, but that's probably just my ignorance of XSP.
Lars > -----Original Message----- > > Hi all, > In Cocoon 2.1.2, I'm generating the following XSP code: > > <xsp:page xmlns:xsp="http://apache.org/xsp" > xmlns:session="http://apache.org/xsp/session/2.0" > xmlns:action="http://apache.org/cocoon/action/1.0" > create-session="true"> > <session:set-attribute name="userid">lars</session:set-attribute> > <action:set-success/> > </xsp:page> > > (That's all of it.) > When I try to run this page (using XSPAction) I get the > following error: > > ... > > private Redirector actionRedirector; > private Map actionResultMap; > > // start error (lines 77-77) "Syntax error on token "(", > "Identifier" expected" > session.setAttribute(String.valueOf("userid"), > // end error > "lars"); > > /** > ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
