Allow other servlet filters to process response
I believe that the TemplateEngineFilter is currently swallowing the HTTP response, in that any other filters defined in web.xml after TemplateEngineFilter don't get a chance to process the response. Instead, the TemplateEngineFilter should call chain.doFilter(request_wrapper, response_wrapper).
Leave a comment
Are you sure this is still an issue? If no template is found for a given URI then its calling chain.doFilter() - see
https://github.com/scalate/scalate/blob/master/scalate-core/src/main/scala/org/fusesource/scalate/servlet/TemplateEngineFilter.scala#L87
https://github.com/scalate/scalate/blob/master/scalate-core/src/main/scala/org/fusesource/scalate/servlet/TemplateEngineFilter.scala#L87
Yes, that code looks good to me. It's ages since I ran into this, and
it may well have been fixed in the meantime.
On Fri, Sep 9, 2011 at 11:10 PM, James Strachan
<scalate@alerts.assembla.com> wrote:
> alert by James Strachan in space Scalate
>
> Comment (by James Strachan):
>
> Are you sure this is still an issue? If no template is found for a given URI
> then its calling chain.doFilter() - see
>
> https://github.com/scalate/scalate/blob/master/scalate-core/src/main/scala/org/fusesource/scalate/servlet/TemplateEngineFilter.scala#L87
>
> More details
>
> Assembla | Knowledge, Tools, and Talent for agile teams
it may well have been fixed in the meantime.
On Fri, Sep 9, 2011 at 11:10 PM, James Strachan
<scalate@alerts.assembla.com> wrote:
> alert by James Strachan in space Scalate
>
> Comment (by James Strachan):
>
> Are you sure this is still an issue? If no template is found for a given URI
> then its calling chain.doFilter() - see
>
> https://github.com/scalate/scalate/blob/master/scalate-core/src/main/scala/org/fusesource/scalate/servlet/TemplateEngineFilter.scala#L87
>
> More details
>
> Assembla | Knowledge, Tools, and Talent for agile teams