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 <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]