[opencms-dev] using <%@include ... %> fails to update in 5.0.1

Geoff Winkless opencms at geoff.dj
Mon Jun 28 18:52:01 CEST 2004


I'm trying to include a jsp statically. The documentation
(/alkacon-documentation/documentation-jsp/includes.html) says

===============
Preferred ways of including
Directive based inclusion with <%@ include file="..." %>

In case you just want to statically include a file at compile time, you can
use the standard directive <%@ include file="..." %>. Keep in mind that
OpenCms will automatically translate the given file name to
/WEB-INF/jsp/{on/offline}/{original-filename}, so all inclusions happen from
the "real" FS, not from the VFS. That translation will happen while the JSP
is written from the VFS to the "real" FS. OpenCms will insure that all files
referenced by <%@ include file= "..." %> directives will also be written to
the "real" FS.

===============

Now this works, except that there seems to be no mechanism to update the jsp
on the FS with the version in the VFS: if I delete the one on the real FS
then the VFS version is written out correctly, but that's hardly what I
want.

Is there a way of making sure that changes to the VFS version are written
out to the new static version?

Cheers

Geoff


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the opencms-dev mailing list