2010/7/30 Alexandru Popescu ☀ <the.mindstorm.mailinglist_at_gmail.com>:
> Hi,
>
> Is there anything special I need to know before trying to use Sitemesh
> with Jersey? I googled this before asking it here and the only thing
> I've found was a post about some "java.lang.IllegalStateException:
> Cannot forward after response has been committed" with no clear
> solution.
the thing to be careful of is you might hit this issue...
https://jersey.dev.java.net/issues/show_bug.cgi?id=485
you often have to configure Jersey with the WebPageContentRegex
setting to specify the regex of what URIs you don't want Jersey to
render (like JSP, JavaScript, images and so forth) - unless you're
JAXRS beans are all within a simple path (like "/app" or something) so
you don't have to map Jersey filter to "/*"
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://fusesource.com/