You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Xuan Han <xh...@inktomi.com> on 2002/03/14 08:16:36 UTC

properties set in velocity.properties overwriten by default init

I have set counter.initial.value = 0 in my velocity.properties file.  
And read this info in loadConfiguration() of my servlet.  But in my log 
file, I saw my counter "c init: 0" first, then saw "c init: null" 
after.  And in my VM macro files, the velocityCounter initial value is 
still 1.  I also tried adding "directive.foreach.initial.value = 0" in 
the properties file, and it's not helping.   Thanks,

2002-03-13 22:43:52 WebappLoader[/cds]: Reloading checks are enabled 
for this Context
2002-03-13 22:43:52 controller: init
2002-03-13 22:43:52 controller: realPath of 
propsFile: /home/xhan/tomcat/jakarta-tomcat-4.0.1/webapps/cds/WEB-
INF/conf/velocity.properties
2002-03-13 22:43:52 controller: c init: 0
2002-03-13 22:43:52 controller: log: velocity.log
2002-03-13 22:43:52 controller: path real: /home/xhan/tomcat/jakarta-
tomcat-4.0.1/webapps/cds/templates
2002-03-13 22:43:55 StandardWrapper[/cds:default]: Loading container 
servlet default
2002-03-13 22:43:55 default: init
2002-03-13 22:43:55 org.apache.catalina.INVOKER.ControllerServlet: init
2002-03-13 22:43:55 org.apache.catalina.INVOKER.ControllerServlet: c 
init: null
2002-03-13 22:43:55 org.apache.catalina.INVOKER.ControllerServlet: log: 
null
2002-03-13 22:43:55 StandardWrapper[/cds:invoker]: Loading container 
servlet invoker


Xuan


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>