erm. shouldn't it be:
<jsp:include page="..."/>
as per section JSP.4.4 of the JSP 1.2 specification.

HTH,

Jon

Atreya Basu wrote:

The only problem with the include directive is that it actually outputs the result of a jsp rather than just the text. What I want to do is have some content in a another file, have the two file put together then compiled.

Is there a way to do that I wonder?

Michele Emmi wrote:

Try:

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

Michele


From: Atreya Basu <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: directive.include problem
Date: Mon, 08 Dec 2003 12:24:06 -0400

Hello,

I'm getting a weird error when using <jsp:directive.include file=".." />.

I get an jsp.error.badaction error.

I don't know maybe I'm using the the directive incorrectly. What I am trying to do is make my JSPs cleaner by moving some of the header and footer code onto a different file. Since I use the same header and footer code, I thought that I could use the directive.include element. But no luck.

Any help?

--
_____________________________________
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca




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



Reply via email to