[opencms-dev] <%@ include Question %>
Anatol
opencms at recordcaster.de
Wed Dec 14 14:25:04 CET 2005
Hi All!
A little question about <%@ include file="....." %>. How can I reference
to a file which is NOT in the same folder like the file into that I want
include the other file?
For Example:
/sites/example1/path1/subpath1/main.jsp
-----------------------------
[...]
<%@ include file="/path2/includes/sample.inc" %>
[...]
-----------------------------
/sites/example1/path2/includes/sample.inc
-----------------------------
<!-- Hello, this is a test! -->
-----------------------------
If I use <%@ include file="/path2/includes/sample.inc" %>, I got an
error that the file "/WEB-INF/jsp/offline/path2/includes/sample.inc" was
not found.
Has anybody an idea?
Thanks for your help!
Anatol
More information about the opencms-dev
mailing list