|
Re: HELP with Velocity Tools needed: msg#00182jakarta.velocity.user
Tom said: ... > I have configured Velocity as follows: > > In the web.xml of my application : ... > - <init-param> > <param-name>toolbox</param-name> > <param-value>/WEB-INF/toolbox.xml</param-value> > </init-param> > - <init-param> > <param-name>properties</param-name> > <param-value>/WEB-INF/config/velocity.properties</param-value> > </init-param> these are the wrong keys. several months ago they were changed to "org.apache.velocity.toolbox" and "org.apache.velocity.properties" instead of just "properties" and "toolbox" these changes have been reflected in the example apps and project documentation for some time now. also, for future reference, if it ever appears that a tool is not functioning, you should immediately check the logs to see whether that tool was loaded. by default, velocity-tools logs to the servlet context, and will log the loading of the toolbox at application init time. Nathan Bubna nathan@xxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: html macro library: 00182, Jonathan Revusky |
|---|---|
| Next by Date: | Re: html macro library: 00182, Nathan Bubna |
| Previous by Thread: | HELP with Velocity Tools neededi: 00182, Tom Bednarz |
| Next by Thread: | Struts & Velocity: 00182, Met @ Uber |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |