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
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:
%@
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
Oops. Note to self: must read JSP2.0 spec ;) (specifically JSP.6.2.4)
Jon Wingfield wrote:
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
On Mon, 2003-12-08 at 11:53, 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.
I don't think this
That's right. The XML equivalent for %@ include is directive.include
page= /. That's what I am having difficulty with.
Anyone with experience using the above directive?
Atreya
David Evans wrote:
The %@ include directive includes the contents of the file before
compilation.