I've done something similar and had no problem.  Try coding it this way....

<%@include file="errorpages/nologin.jsp" %>

try that, and see if it works.

----- Original Message -----
From: "Arun Jayaprakash" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 09, 2000 5:50 AM
Subject: jsp:include tag


> Hello,
>
> I have a jsp page where I include another jsp page
> depending on the value of a variable. However I am
> gettting the following error while trying to access
> the page -
>
> "org.apache.jasper.JasperException: Invalid
> jsp:include tag"
>
> The jsp:include tag that causes this problem is -
>
> <jsp:include page="errorpages/nologin.jsp" />
>
> Going by the Professional JSP book, I have placed this
> within the HTML code section. If I replace the
> jsp:include tag with the jsp:forward tag, I don't face
> this problem.
>
> Where am I going wrong?
>
> Thanks,
>
> Arun Jayaprakash.
>
> __________________________________________________
> Do You Yahoo!?
> Thousands of Stores.  Millions of Products.  All in one Place.
> http://shopping.yahoo.com/
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to