Posted By:
pradeep_kharvi
Posted On:
Monday, June 4, 2001 03:19 AM
i am using JBuilder 4, it is giving me some weird problem my code is something like this <% if("visitor".equals(utype)) { %> <%@ include file="attform.jsp"%> <% else if("organiser".equals(utype)) { %> <%@ include file="orgform.jsp"%> <% } %> in both the above files "attform.jsp" and "orgform.jsp" i have included following files <%@include file="errmsg.jsp"%> <%@include file="header.jsp"%> now when i execute the file it gives me this error Internal Servlet Error:
More>>
i am using JBuilder 4, it is giving me some weird problem
my code is something like this
<%
if("visitor".equals(utype))
{
%>
<%@ include file="attform.jsp"%>
<%
else if("organiser".equals(utype))
{
%>
<%@ include file="orgform.jsp"%>
<%
}
%>
in both the above files "attform.jsp" and "orgform.jsp" i have included following files
<%@include file="errmsg.jsp"%>
<%@include file="header.jsp"%>
now when i execute the file it gives me this error
Internal Servlet Error:
org.apache.jasper.compiler.ParseException: Seen file srcexpopointerrmsg.jsp already, maybe this is a recursive include?!
WHY IS IT GIVING ME THIS ERROR EVEN TWO THE TWO FILES INCLUDED ARE INSIDE "IF LOOP"
WHEN I EXECUTE THE SAME THING IN JRUN OR NORMAL TOMCAT IT WORKS BUT IN JBUILBER IT GIVES ME ABOVE ERROR
PLS HELP
pradeepkharvi@hotmail.com
<<Less