On 05/15/2009 03:10 PM, Chris Winters wrote:
> On Fri, May 15, 2009 at 7:55 AM, Paul Sandoz<Paul.Sandoz_at_sun.com> wrote:
>> ...
>> http://www.cwinters.com/blog/2009/04/03/jersey_freemarker_provider.html
>>
>> IIUC Chris's implementation uses a web app template loader, so the
>> freemarker templates are expected to be in the web pages area. So i do not
>> think it will work as you want without modifying the initiation code.
>
> That's correct. I wrote it to serve up files from under WEB-INF
> because that's what I needed. I'd imagine it would be pretty easy to
> modify to pull the templates from the classpath instead -- I see that
> Struts2 does this[1].
>
> I don't think I'd be doing this anytime soon, but feel free to modify
> as you like.
I think I got a few things that are more important right now - but
thanks for the pointers.
I'll look into this at some later time - and report back then.
Thanks again to all the helpful people on the Jersey list.
Regards,
Tarjei
>
> Chris
>
> [1] http://struts.apache.org/2.0.14/docs/using-freemarker-templates.html#UsingFreemarkerTemplates-TemplateLoading
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>