You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vyacheslav Akhmechet <Vy...@eLiTechnologies.com> on 2000/07/19 20:32:33 UTC
"recursive" includes
Hi.
I have the following problem with Tomcat 3.1. I need to include the same
jsp file into another jsp file twice. I'll illustrate it with source
code:
--------------a.jsp-----------------------
<%@ page language="java" import="" %>
<%@ include file="../test/b.jsp"%>
<%@ include file="../test/b.jsp"%>
----------------b.jsp-----------------------------------
<%
{
int a;
}
%>
-------------------------------------------------------------
Here's the error I am getting:
org.apache.jasper.compiler.ParseException: Seen file b.jsp already,
maybe this is a recursive include?!
Does anyone know how to work around that?
Thanks for your time.