hi:
the file2.jsp is a static file??? if yes, you could not include
<jsp:useBean> in it, while if no, you could not use <%@ include %> to
include a dynamic file. try <jsp:include> element.
----- Original Message -----
From: Liza J Alenchery <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 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:useBean> in file
2.
> Then I get the error 'Cannot forward as OutputStream or Writer has already
> been obtained'.
>
> What am I doing wrong?
>
> thanks in advance
>
> liza
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to