2 problems
1) If you have *.jsp - don't make the include file a file that ends with
jsp. Use jspf as your include extension.
2) Try access the include file all by itself. Sounds like a simple
compile issue.
-Tim
coder5436uk wrote:
my web xml:
t", you will
see the problem immediately its because JSP are only compiled at run
time.
- Original Message -
From: "coder5436uk" <[EMAIL PROTECTED]>
To:
Sent: Monday, July 02, 2007 10:55 AM
Subject: Re: Tomcat adding files
my web xml:
*.jsp
/WEB-INF/
looks like the can't be included..
try zeroing the file
of set the content to "this is the header file"
or move the file to the root directory and try to access the file
directly to see what kind of error you are dealing with
i mean move the file so that
you can view the header using http://server
my web xml:
*.jsp
/WEB-INF/headers/v2header.jsp
file does exist in location
I get
HTTP Status 500 -
type Excep
Look at projects such as tiles.
An alternative is to use jsp preludes. Which allow you to add stuff to
the beginning or end of all jsp pages.
For example: put this in web.xml:
*.jsp
/WEB-INF/prelude1.jspf
-Tim
coder5436uk wrote:
I have an install of tomcat and I wish to add