Alexander Leyke wrote:
Hi,
I need to use include directive in JSP that points to file physically
located outside directory tree for Web application context. I tested two
forms of include directive: <%@include file="/../inc/name.inc" %> and
<%@include file="/symlink/name.inc" %>.
As far as I can tell from Tomcat 4.1.18 sources the former is forbidden,
i.e., cannot specify path that goes beyond application context. The
latter is OK, as long as
org.apache.naming.resources.FileDirContext.setAllowLinking() has been
called with true argument.
You have to use a Resources element for that to be called.
Remy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]