users@jersey.java.net

[Jersey] Re: Customize Resolve in JSP Template Processor

From: Michal Gajdos <michal.gajdos_at_oracle.com>
Date: Thu, 8 Jan 2015 16:06:45 +0100

Hi Tony,

unfortunately no, there is no way how to achieve this at the moment. Please, file an issue to our JIRA [1] we should be able to provide some prioritization of template processors at least.

[1] https://java.net/jira/browse/JERSEY

Michal

> On 27 Dec, 2014, at 01:37 , Tony Zakula <tonyzakula_at_gmail.com> wrote:
>
> Hey All,
>
> I created a custom TemplateProcessor and now I was wondering if there was anyway to customize the JspTemplateProcessor resolve method to return null or not based on the media type. Basically, we decide between stock templates and customized templates in different locations at run time. Or is there any other way to do this?
>
> Thanks,
>
> Tony