Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 83246 invoked from network); 3 May 2000 09:20:14 -0000 Received: from neptun.sns-felb.debis.de (53.122.101.2) by locus.apache.org with SMTP; 3 May 2000 09:20:14 -0000 Received: by neptun.sns-felb.debis.de; id LAA17890; Wed, 3 May 2000 11:22:29 +0200 Received: from unknown(53.47.15.3) by neptun.sns-felb.debis.de via smap (V5.0) id xma017840; Wed, 3 May 00 11:22:21 +0200 Received: from galaxy.c1.dsh.de (localhost [127.0.0.1]) by dshmail.dsh.de (8.8.7/8.8.7) with ESMTP id LAA28439 for ; Wed, 3 May 2000 11:19:03 +0200 (MET DST) Received: from debis.com (d32nb018.c1.dsh.de [172.18.32.18]) by galaxy.c1.dsh.de (8.10.0/8.10.0) with ESMTP id e439KW027769 for ; Wed, 3 May 2000 11:20:32 +0200 Message-ID: <390FEF40.553DD21E@debis.com> Date: Wed, 03 May 2000 11:20:01 +0200 From: Daniel Schaller X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: ERROR including jsp-files References: <10F82FC788E0D311AB820060083EAE1E08144C@mail.netbeans.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Petr Jiricka schrieb: > I don't really understand how this could happen. What exactly you are doing: > are you using include directive or include action ? > > It is true that for include directive, the compiler checks whether the pages > are included recursively to avoid infinite loop in the compiler. However, in > this case you can't include pages conditionally, they're included no matter > what. > > For include action, you can include pages conditionally, but in this case > the compiler does not (or should not) check whether the JSPs are included > recursively. > > It would be helpful if you provided some code examples of what you are > doing. > > Petr Hello, thanks for your answer. Well, the following I want to do: in the "master"-jsp file which contains one if-else-condition where every branch use the include directive for another jsp-file. One of these two jsp-files also again contains if-else-conditions (in summary 9 includes) for including other jsp-files which DON'T contain any more other include directives. So, finally, it should one large jsp-file which was built of 12 other jsp-files. I think that there is a limitation of including files by the include directive. The Problem is also known as bug #266 in http://jakarta.apache.org/bugs/show_bug.cgi?id=266 Bye Daniel > > > -----Original Message----- > From: Daniel [mailto:ds21@inf.tu-dresden.de] > Sent: Wednesday, May 03, 2000 6:35 AM > To: tomcat-user@jakarta.apache.org > Subject: ERROR including jsp-files > > Hello, > > > I want to try including more than one jsp-file depending on some facts (if - > conditions!). > Howerver, the final-jsp file contains all jsp-files which are referred by > "master"-jsp file. > > So it happens, that tomcat or jasper is stopping compiling because it means, > that the including is maybe recursive. > > Does anybody know an answer to that problem > > > Bye > Daniel > > -------------------------------------------------------------------------- > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org > For additional commmands, email: tomcat-user-help@jakarta.apache.org