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 in file 2.
Then I get the error 'Cannot forward as OutputStream or Writer has already
been obtain
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:
http://java.sun
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 in file2.
Vis.
ril 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 can
hi .
i guess your 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. I am