tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fifi129 " <>
Subject Problem in <%@ include %>
Date Tue, 19 Sep 2000 09:23:14 GMT
I've try to include other jsp in my jsp page.  It seems to be work 
in JSWDK1.0.1.  But I move to Tomcat, The following error message occurs.

org.apache.jasper.compiler.ParseException: Seen file /jsp/jrt/test3.jsp 
already, maybe this is a recursive include?!

The jsp file is as follows:
<%@ page language="java" import="java.sql.*, java.util.*, javax.servlet.*" %> 
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">

<body bgcolor="#FFFFFF">
<% String var1 = "hello";%>
<%@include file="test3.jsp"%>
<%@include file="test3.jsp"%>
<form name="form1" method="post" action="">
  <input type="text" name="txt1">
  <input type="submit" name="buttom" value="Submit" onClick="'test2.jsp')">

P.S. I am using apacje 1.3.12 and Tomcat 3.1 in Linux RedHat 6.1

Thanks a lot,

--== Sent via ==--
Before you buy.

View raw message