velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Iain Young <Iain.Yo...@microfocus.com>
Subject RE: VelocityViewServlet and velocity.properties
Date Wed, 02 Oct 2002 15:33:24 GMT
Hi Charlie

>Where are your templates?  Are they located at /WEB-INF/?  If not then then
>the WebappLoader will not pick them up.  

I've tried putting them in...  

  /WEB-INF/?   
  /WEB-INF/templates/?
  /templates/?
  /?. 

The only place where it will pick them up is if I put them in the root dir
of the website (/?), despite what setting is in the properties file. I guess
that if I want to use the webapp loader, and want the files in a sub-dir,
I'll have to write my own loader class (which will search multiple paths
etc)?

Cheers,
Iain

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


Mime
View raw message