From my experience (not looking at the spec):

When you use the jsp:include tag, the page you include must be a real jsp 
page.  That means that the file name must end with .jsp and the page must 
begin with a page directive of java as the page language (though I believe 
that the declaration is officially optional, but recommended).

The include directive will take *anything* and insert it into the source 
before compiling.

Good luck,

Eric Everman



At 10:19 AM 5/26/2002, you wrote:
>Help.  In Tomcat 4.0.3
>
>The statement like this:
>     <%@ include file="rmenu.html" %>
>works, but
>       <jsp:include page="<%=page_name_string_variable%>" />
>
>does not.
>
>Any idea what's wrong ? The statement seem to comply with the JSP spec (JSP
>1.1 ?)
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to