You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Paul Goepfert <pa...@gmail.com> on 2005/06/06 01:13:07 UTC

Quick question about properties files

I am trying to fiure out why I am getting a Null Pointer Exception when 
I  try to view any Velocity pages.  The exception comes from the 
velocity tools packages.  I was looking at the web.xml file in the 
velstruts.war  (app1) and I found a init-param for a properties file.  
So my question is do I have to add a parameter for my properties file?

Paul

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


Re: Quick question about properties files

Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Paul,

> I am trying to fiure out why I am getting a Null Pointer Exception when
> I  try to view any Velocity pages.  The exception comes from the
> velocity tools packages.  I was looking at the web.xml file in the
> velstruts.war  (app1) and I found a init-param for a properties file.
> So my question is do I have to add a parameter for my properties file?

Only if you want to override the properties.
  http://jakarta.apache.org/velocity/tools/view/index.html#Velocity%20Configuration
  http://jakarta.apache.org/velocity/developer-guide.html#Velocity%20Configuration%20Keys%20and%20Values

Best regards,
-- Shinobu

--
Shinobu Kawai <sh...@gmail.com>

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