Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 24318 invoked from network); 20 Nov 2003 22:49:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Nov 2003 22:49:21 -0000 Received: (qmail 54519 invoked by uid 500); 20 Nov 2003 22:48:59 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 54504 invoked by uid 500); 20 Nov 2003 22:48:59 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 54491 invoked from network); 20 Nov 2003 22:48:59 -0000 Received: from unknown (HELO mail.link77.net) (208.145.81.85) by daedalus.apache.org with SMTP; 20 Nov 2003 22:48:59 -0000 Received: from [64.157.117.216] (account lars_huttar@mail.jaars.org HELO LarsandKate) by mail.link77.net (CommuniGate Pro SMTP 4.1) with ESMTP-TLS id 29782658 for users@cocoon.apache.org; Thu, 20 Nov 2003 17:49:02 -0500 From: "Lars Huttar" To: "Cocoon Users List \(E-mail\)" Subject: RE: Syntax error in session.setAttribute code? Date: Thu, 20 Nov 2003 16:49:01 -0600 Message-ID: <007401c3afb8$7e15ff80$120314ac@dallas.sil.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Never mind, sorry... I found the problem. I had neglected to put a element around the stuff inside the 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: > > xmlns:session="http://apache.org/xsp/session/2.0" > xmlns:action="http://apache.org/cocoon/action/1.0" > create-session="true"> > lars > > > > (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: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org