tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Schaller <dscha...@debis.com>
Subject Re: ERROR including jsp-files
Date Wed, 03 May 2000 11:09:49 GMT


Petr Jiricka schrieb:

> >
> > 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
>
> I think there are two different issues:
>
> 1) Yes, there was a limitation that you could not include a page more than
> once. This should be fixed in the latest build.

Hello again,

I use release 3.1 (04-18-2000), however I only can include one jsp-file only
once and not twice like I want to do.

Do you know, where you can change the limitation??

Daniel


>
>
> 2) If you want to use include directive, you can't use conditions. How would
> you use a condition ? What condition ? If you mean Java if-else condition,
> then it would not work, as include directive is processed at translation
> time, whereas Java code is executed at request time.
>
> Hope this helps
>
> Petr
>
> >
> > 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
> >
> >
> > --------------------------------------------------------------
> > ------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message