You should use
<%@ include file="other.jsp" %> instead of <jsp:include ....>
The jsp:include is for dynamic content that changes a lot,
the @ include file is for static content and will get you closer to where you want to be. as far as cacheing goes, I am not knowledgeable enough to answer that question reliably.

Mike

Xuekun Hu wrote:
Hi,

I'm a newbie of TOMCAT 5.5. I have some jsp scripts which inlucde some
static files by using <jsp:include> element. I want to cache them to
improve the performance. Can TOMCAT do that? If yes, how?

I searched the docs, and found an attribute "cachingAllowed" in
context container. Does the attribute work for <jsp:include> element?

Thanks in advance.

Thx, Xuekun

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


--
Mike Sabroff
Web Services
Developer
[EMAIL PROTECTED]
920-568-8379


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

Reply via email to