I use this syntax

<%@ include file="Check_Logon.jsp" %>

works fine for me

Kevin

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Paul King
Sent: 25 June 1999 21:42
To: [EMAIL PROTECTED]
Subject: including a jsp page withing a jsp page


I know a few people have described how the jsp1.0 spec should allow jsp
files to be included, but I don't recall anyone mentioning that they've
actually done this. Has anyone had success with this?

For example, I'd like to include a VerifyLogin.jsp file in my other jsp
files to make sure a session has logged in.  VerifyLogin would redirect
to a login component if the session isn't logged in.  Otherwise, it
would not affect the parent page.  If someone could pass along the
single line of code I should use here, that would be great.

paul

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to