struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <>
Subject Re: Struts 2 Plugin for Grails?
Date Tue, 20 Nov 2007 05:46:31 GMT
Has anyone tried encapsulating Jasper behind a standalone servlet and
have it load the JSP template independently of the container (a la
Freemarker and Velocity) but not independently of the servlet API
(which would be the second biggest upgrade to the spec).


On Nov 19, 2007 8:06 PM, Martin Cooper <> wrote:
> On Nov 19, 2007 9:55 AM, Brian Pontarelli <> wrote:
> <huge-snip/>
> > I'd even go one step further and
> > abstract out JSPs so that they didn't require a container and provide a
> > javax package to access and use them outside of containers.
> Good luck with this part. ;-) I went down that path for a while, a few
> years ago, and it's a major pain to try to work around all the
> dependencies on the servlet API, especially in a way that allows
> arbitrary tag libraries to continue to work. We ended up having to
> create an artificial request in order to get the right context for the
> container to invoke the JSP. Yuck.
> --
> Martin Cooper

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message