tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Schaller <>
Subject Re: ERROR including jsp-files
Date Wed, 03 May 2000 09:20:01 GMT

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


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

Bye Daniel

>  -----Original Message-----
> From: Daniel []
> Sent: Wednesday, May 03, 2000 6:35 AM
> To:
> 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:
> For additional commmands, email:

View raw message