As part of a project, I am using Velocity to format
emails. Because my requirements are minimal, I would like to
configure Velocity in the applicationContext but use it as
a singleton after that. Looking at the source code of the
VelocityEngineFactory, I don't think it can work with a
singleton Velocity engine.
Do you think adding a parameter there to support this mode
of operation would be a good idea?
On a similar matter, I see that a support for PDF generation
is in the package web.servlet.document. This implies that PDF
generation is web-based, which is not the case.
Shouldn't there be a generic support for application output?
Or am I missing something?
--
ModSecurity (http://www.modsecurity.org)
[ Open source IDS for Web applications ]
|