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.  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