users@jersey.java.net

JSPTemplateProvider and request object

From: Daniel Larsson <daniel.j.larsson_at_gmail.com>
Date: Sat, 1 Aug 2009 22:03:55 +0200

Hi,
I'm trying to write a custom JSP template provider, and I noticed the
standard JSP template provider gets the request in the constructor, and
using the injected HttpServletRequest doesn't work very well (in the writeTo
method, when dispatching the request to the JSP processor). Using the
injected request object, it seems to loop endlessly (?). I haven't had much
time yet to delve into what happens, but thought I'd make a quick post here
first. I do have a small example project though.