I don't know if your JSP can point to a virtual directory on Apache, but did you 
notice that you've placed your include files in:

/www/secweb/webapps/ca/include

but your virtual directory points to:

/www/secweb/webapps/include

Maybe this was just a typing error in your email?

-B

>>> Mike Silvers <[EMAIL PROTECTED]> 01/14/03 05:37AM >>>
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 
=======================================

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to