Lukin Konstantin wrote:

> Hey everyone
>
> Is there a way to do a server side includes in JSP?
>
> Here is an example which is possible in ASP
>
> <!--#include file="../includes/settings.asp"-->
>
> where settings.asp is a file containing global constants
>
> PS. I am not interested in <SERVLET></SERVLET> include
>
> THanks again
> Konstantin
>

The JSP 1.0 equivalent is:

    <%@ include file="../includes/settings.jsp" %>

When you need it, the <SERVLET></SERVLET> style include at run time is done
like this:

    <jsp:include page="otherpage.jsp" />


Craig McClanahan

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