Mugdha,
Page Directive: Defines attributes that apply to an entire JSP Page.
If U R calling JSP inside a JSP and result is actually one JSP.
One JSP one Page Directive.
As a work around solution, U can use Include Directive.
Thank U.
With Regards
Sree
Mugdha Kulkarni wrote:
> Hi all,
> Tomcat gives me following exception while invoking my JSPs
>
> --org.apache.jasper.JasperException: Page directive: can't have multiple
> occurrences of info
>
> I have a JSP page which includes a number of JSPs. And obviously each of the
> included JSPs have their own page info directive. So the above error is
> occuring.
>
> Is there any solution for this ? Or do I have to remove Page info directive
> from all my included files ?
>
> Also Tomcat behaves similarly in case of error page directive and I have same
> problem with that also. All my included JSPs have their own error page
> directive. I have removed error page directive in each of the include file.
> But this is not a very good solution.
>
> Please let me know if there is any solution.
> Thank you,
> Mugdha
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
>
> ===========================================================================
> 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