Re: %@ include file =filename % problem

2000-04-24 Thread piyush raj jain
hi . i guess your jsp:useBean tag is after the %@ include...directive first instantiate the bean then include the page i hope the bean with the same name would be visible regds piyu Liza J Alenchery wrote: Hi I have a jsp file(file1.jsp) which has a %@ include file ="file2.jsp" % in it.

%@ include file =filename % problem

2000-04-12 Thread Liza J Alenchery
Hi I have a jsp file(file1.jsp) which has a %@ include file ="file2.jsp" % in it. I am getting compilation errors saying that the beans that I included in file1 cannot be seen in file2. So I put jsp:useBean in file 2. Then I get the error 'Cannot forward as OutputStream or Writer has already

Re: %@ include file =filename % problem

2000-04-12 Thread Christopher Lynch
Just provide an example of how you are calling your Bean from you jsp file. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at:

Re: %@ include file =filename % problem

2000-04-12 Thread Visakh Menon
Liza, Check if you are referring to the bean with the same id in file2. Or problem could be with your classpath. Check if you've set it properly for the bean. Also check if you are refering file2 in file1 with proper URL. I can't think of any other reason. There is no need to put jsp:useBean in

Re: %@ include file =filename % problem

2000-04-12 Thread liuhao
12, 2000 11:57 PM Subject: %@ include file ="filename" % problem Hi I have a jsp file(file1.jsp) which has a %@ include file ="file2.jsp" % in it. I am getting compilation errors saying that the beans that I included in file1 cannot be seen in file2. So I put jsp:useBea