使用 Grizzly 2.3.2 和 Jersey 1.8,根据许多资源(如何实现自定义 ViewProcessor<T> (jax-rs)?,博客) Jersey 带有现成的 JSP 处理器,但调试会话显示没有这样的处理器存在
/**
* Get the set of template processors.
*
* @return the set of template processors.
*/
private Set<ViewProcessor> getViewProcessors() {
return viewProcessors; // ***THIS LIST IS EMPTY !!!***
}
如果有人能解决它/提供建议如何将一些 JSP 处理器(不是通用模板引擎!)插入泽西岛,我将不胜感激