Konstantin Priblouda said:
...
> I noticed that velocity does not provide convenient
> way of loading templates packed in .war files.

i personally find the WebappLoader in the velocity-tools project to be a very
convenient way to do this.

...
> This resource loader shall utilize
> ServletContext.getResource()/ getResourceAsStream() ,
> and maybe bomb / refuse initialization if no
> servet context is available.

:)  just like the WebappLoader does!

> I'm willing to develop it myself ( in really near
> future ) and of course contribute this to velocity.

well, why not give the WebappLoader a try, and if you feel like improving on any
of it, post a patch to bugzilla.

Nathan Bubna
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to