Hi,
it took me a while to figure out why my overridden method did'nt have a
chance to get called, the reason is the usage of "super" in the following
code snippet from
org.apache.velocity.tools.view.servlet.VelocityViewServlet:
<snippet>
initVelocity( ServletConfig config )
{
[...]
Properties p = super.loadConfiguration(config);
</snippet>
Could this possibly be changed to Properties p = loadConfiguration(config);?
In case it was actually intended to be (not a good idea I think), would'nt
it be rather better to declare loadConfiguration as final?
Kind regards,
Thilo.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]