Maybe by globally disactivating the #include directive? It is declared in the file org/apache/velocity/runtime/defaults/velocity.properties.
Claude Le vendredi 27 juillet 2007 à 12:31 -0600, White, Tim a écrit : > So, I'm trying out an idea that would let us serve all our existing > .html pages with VelocityLayoutServlet, instead of with with straight > Apache. > > The problem is, a lot of our existing .html pages have Server Side > Includes in them like this: > > <!--#include > virtual="/global/includes/residential/resInGlobalScript.html"--> > > Ideally, I'd like velocity to handle these without changing the .html > files, since there are around 10,000 of them. > > At minimum, I'd at least like Velocity to ignore it, rather than trying > to process it as a velocity #include(). > > Any ideas? > > Tim > > > This communication is the property of Qwest and may contain confidential or > privileged information. Unauthorized use of this communication is strictly > prohibited and may be unlawful. If you have received this communication > in error, please immediately notify the sender by reply e-mail and destroy > all copies of the communication and any attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
