Richard Mixon wrote:
Mike,
Doing an exclude is one approach (as mentioned by Len). When I encountered
this issue a couple of years ago, my Googling turned up the recommended
approach of naming your include files with a ".jspf" suffix instead of a
".jsp" suffix. Jasper should ignore them - and it
will be clear which files
are includes.
HTH - Richard
-Original Message-
From: Michael P. Soulier [mailto:[EMAIL PROTECTED]
Sent: Monday, November 14, 2005 7:52 AM
To: Tomcat Users List
Subject: error in jasper precompilation
I'm taking care of a site that uses a common header a
Don't compile header.jsp, as it's being included in all of the other
pages. It's the same as including a .h file in C++.
--
Len
On 11/14/05, Michael P. Soulier <[EMAIL PROTECTED]> wrote:
> I'm taking care of a site that uses a common header and footer, with a
> dynamic header title, like so
>
>
>
I'm taking care of a site that uses a common header and footer, with a
dynamic header title, like so
<%! String title = "Pawsitive Approach Pet Services"; %>
<%@ include file="comps/header.jsp" %>
In header.jsp, title is used to output the title.
<%= title %>
Now, this works just fine. I'm