velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <shinobu.ka...@gmail.com>
Subject Re: Template Cacheing
Date Fri, 22 Oct 2004 13:41:30 GMT
Hi Steve,

> I'm using Tomcat 4.x and my servlet extends VelocityServlet.  This is
> working fine except that changes to my templates made whilst Tomcat is
> running are not made apparent in Velocity i.e. Velocity is cacheing the
> template and doesn't re-read it until I close Tomcat and re-start it.  Why
> is this and what can I do to defeat it?
First, I suggest using VelocityViewServlet.
    http://jakarta.apache.org/velocity/tools/view/index.html
Next, snoop around these documents and posts about resource loaders and cache.
    http://jakarta.apache.org/velocity/developer-guide.html#Configuring%20Resource%20Loaders
    http://article.gmane.org/gmane.comp.jakarta.velocity.user/7783

If you still can't get it to work, ask again with some detail of how
you configured the resource loader.

Best regards,
-- Shinobu Kawai

-- 
Shinobu Kawai <shinobu.kawai@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message