Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 87210 invoked by uid 500); 7 Feb 2002 14:45:44 -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 87199 invoked from network); 7 Feb 2002 14:45:44 -0000 X-Sent: 7 Feb 2002 14:45:44 GMT From: "Chitharanjan Das" To: Subject: RE: JSPGenerator problem Date: Thu, 7 Feb 2002 06:44:13 -0800 Message-ID: <001201c1afe5$ea959e10$9865fea9@CHITHS> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 In-Reply-To: <3C6224BF.F6AE50C2@softsolutions.fr> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, Shouldn't your generator point to JSP pages.... Regds, Chiths -----Original Message----- From: MOODAD (Shadi LB Soft) [mailto:shadi.moodad@softsolutions.fr]=20 Sent: Wednesday, February 06, 2002 10:55 PM To: cocoon-dev; cocoon-users@xml.apache.org Subject: JSPGenerator problem Hi,=20 I'm trying to execute a jsp file under cocoon but I have a small porblem that i didn't found a solution.=20 I'm using this configuration:=20 =A0 =20 =A0=A0 =20 =A0=A0=A0 =20 =A0=A0=A0 =20 =A0=A0=A0 =20 =A0=A0 =20 =A0 =20 so when executing a jsp I got the following error:=20 org.xml.sax.SAXParseException: Document root element is missing.=20 =A0=A0=A0=A0=A0=A0=A0 at org.apache.cocoon.components.parser.JaxpParser.fatalError(JaxpParser.jav a:182)=20 =A0=A0=A0=A0=A0=A0=A0 at = org.apache.crimson.parser.Parser2.fatal(Parser2.java:3038)=20 =A0=A0=A0=A0=A0=A0=A0 at = org.apache.crimson.parser.Parser2.fatal(Parser2.java:3023)=20 but the jsp is a well formed xml and it execute from the tomcat.=20 so i trace the error in the code of the JSPGenerator.class and I found that the request URI is correct but the size of the httpRequest.getInputStream().available() is =3D 0.????? strange.=20 I'll be very thanxfull if someone have an ideas on that problem or could give me some hints to the solution.=20 thanx in advance=20 --=20 Soft Solutions, Liban=20 Net Developper=20 Moodad Shadi=20 www.softsolutions.fr=20 =A0 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: