Have you read: http://jakarta.apache.org/velocity/webapps.html?
if you are using the VelocityViewServlet with its default properties, then you just put the template files in the root directory of the webapp and it will find them there. On 1/22/06, Graham Renney <[EMAIL PROTECTED]> wrote: > Hi > > I am struggling to get a web app to see the .vm template file unless I > place it in a physical location such as d:/template.vm and point the > velocity engine to that location. What I want to do is place it in my > war - but velocity does not find the template. Where do I place it in > the war and how do I tell the engine where it is? > > Thanks > Graham Renney > > > This message and any attachments are confidential and intended solely for the > addressee. If you have received this message in error, please notify > Discovery immediately, telephone number +27 11 529 2888. Any unauthorised > use; alteration or dissemination of the contents of this email is strictly > prohibited. In no event will Discovery or the sender be liable in any manner > whatsoever to any person for any loss or any direct, indirect, special or > consequential damages arising from use of this email or any linked website, > including, without limitation, from any lost profits, business interruption, > loss of programmes or other data that may be stored on any information > handling system or otherwise from any assurance that this email is virus free > even if Discovery is expressly advised of the possibility of such damages. > Discovery is an Authorised Financial Services Provider. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]