Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 34844 invoked from network); 4 Oct 2006 09:17:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2006 09:17:47 -0000 Received: (qmail 49578 invoked by uid 500); 4 Oct 2006 09:17:43 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 49217 invoked by uid 500); 4 Oct 2006 09:17:41 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 49206 invoked by uid 99); 4 Oct 2006 09:17:41 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2006 02:17:41 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [82.175.126.194] ([82.175.126.194:14676] helo=pegasus.olympus.borgus.nl) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id EC/92-00170-B2C73254 for ; Wed, 04 Oct 2006 02:17:36 -0700 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 Content-Class: urn:content-classes:message Importance: normal Priority: normal MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Cannot get JSPReader/JSPGenerator to work Date: Wed, 4 Oct 2006 11:17:01 +0200 Message-ID: <6DD7194CCE91BB44A41318EA7D06151070EA76@pegasus.olympus.borgus.nl> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cannot get JSPReader/JSPGenerator to work thread-index: Acbnf9aXqYQY//WaTQCHM8UnVQqywwAFVaBg From: "Geert Josten" To: X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Tomcat might already be trying to process the jsp calls itself but is failing to translate the url into a file path that is correct. I expect that there are comments in web.xml near *.jsp mapping concerning Tomcat. If you don't explicitly map *.jsp, tomcat is (or at least used to) take over control for all urls that end with .jsp. On the other hand I get the impression from your explanation that this is actually what you want. About classes and lib: the classloader will look in both, but classes folder might have higher precedence over lib. Kind regards, Geert >=20 =20 =20 Drs. G.P.H. Josten Consultant =20 =20 Daidalos BV Source of Innovation Hoekeindsehof 1-4 2665 JZ Bleiswijk Tel.: +31 (0) 10 850 1200 Fax: +31 (0) 10 850 1199 www.daidalos.nl KvK 27164984 De informatie - verzonden in of met dit emailbericht - is afkomstig van = Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u = dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te = verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. =20 > Van: Paritosh Patel [mailto:xygnusx1@gmail.com]=20 > Verzonden: dinsdag 3 oktober 2006 21:27 > Aan: users@cocoon.apache.org > Onderwerp: Cannot get JSPReader/JSPGenerator to work >=20 > I am new to Cocoon (BTW, and its very cool) and am trying to=20 > get Cocoon to handle a JSP page to be processed... but it=20 > does not work. >=20 > (My setup is running Cocoon 2.1.9 under Tomcat 5) >=20 > First, I tried the JSP block welcome page and it also does=20 > not work for me. The IE browser window shows empty and the=20 > "View Source" results in only the following:=20 >=20 > Transitional//EN"> content=3D"text/html; charset=3Dwindows-1252"> = >=20 > Looking at the "WEB-INF/classes/org/apache/..." the JSPReader=20 > and JSPGenerator classes are not present. There is a=20 > 'cocoon-jsp-block.jar' under WEB-INF/lib, though. I do not=20 > know when Cocoon would go to this Jar file instead of the=20 > classes dir. Is there a problem in my setup?=20 >=20 > Finally, I modified the build's local.block.properties file=20 > to make sure that the jsp block is included... This resulted=20 > in the same result. >=20 > What am I doing wrong? >=20 > The end goal I am trying to get to is for Cocoon to use the=20 > Tomcat JSP engine... Is that unreasonable?=20 >=20 > - pdp >=20 >=20 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org