Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 57184 invoked by uid 500); 5 May 2003 03:24:48 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 57163 invoked from network); 5 May 2003 03:24:47 -0000 Received: from mirror01.iptelecom.ua (212.9.224.24) by daedalus.apache.org with SMTP; 5 May 2003 03:24:47 -0000 Received: from ipcard.iptcom.net ([212.9.224.5]:36356 "EHLO mail.i.com.ua") by smtp1.iptelecom.net.ua with ESMTP id ; Mon, 5 May 2003 06:24:50 +0300 Received: from oemg (h40.229.dialup.iptcom.net [212.9.229.40]) by mail.i.com.ua (8.12.9/8.12.8) with ESMTP id h453Ok6i071443 for ; Mon, 5 May 2003 06:24:47 +0300 (EEST) (envelope-from v_peter@ukr.net) Date: Mon, 5 May 2003 06:24:36 +0300 From: Peter Velychko X-Mailer: The Bat! (v1.60c) Reply-To: Peter Velychko X-Priority: 3 (Normal) Message-ID: <18124163234.20030505062436@ukr.net> To: cocoon-users@xml.apache.org Subject: Passing parameters to XSP from sitemap MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, I am trying to pass parameters to XSP from sitemap. My sitemap: My xsp: String lang = parameters.getParameter("lang"); mypooldb select ld.subject, ld.annotation from langdocument ld where ld.document_id=65 and ld.language='lang' No results Errors When I request the page "http://localhost:8888/myproject/en/data/news" I have the following error: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling news_xsp: ERROR 1 (org\apache\cocoon\www\antanta\data\news_xsp.java): ... this.characters("\n"); // start error (lines 306-306) "Unhandled exception type ParameterException" String lang = parameters.getParameter("lang"); // end error String current_id = ( (XSPRequestHelper.getParameter(objectModel, ... Line 306, column 0: Unhandled exception type ParameterException What is wrong? My environment is the following: tomcat 4.1.18, cocoon 2.1M1, Win XP. -- Best regards, Peter mailto:v_peter@ukr.net --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org