I would like to use a common header and footer across
several different webapps. I am trying to include the files and I can not
get the include to find the correct file. I am using a Tomcat
server.
Here is what I have tried:
<%@ include file="/include/Header.jsp"
%>
and in the Apache web server config I have defined an
alias as:
Alias /include/ /www/secweb/webapps/include/
The directory of /www/secweb/webapps contains the web app
of /ca/ and the folder for the includes files.
I guess the real question here is, can I have the JSP
include point to a location that is not in the web app structure?
Any ideas?
Thanks
Mike
======================================= Mike Silvers Senior Programmer/Analyst IBM Certified Expert Hainey Business Systems Main Office: (717) 718-9601 ext 237 Branch Office: (410) 397-8739 http://www.hbs-inc.com ======================================= |
- Re: JSP includes Mike Silvers
- Re: JSP includes Becky Phaneuf
- Re: JSP includes Dmitry Namiot