Hello, I'm so excited finally getting a consistent error page without a bunch of workarounds and patches, so here is the recipe for the struts/tiles/freemarker combination:
prerequisites: 1. struts-2.1.x - put template_exception_handler=rethrow in freemarker.properties to catch for the writeIfCompleted functionality in FreemarkerResult. 2. tiles-2.0.6 - template exceptions now pass through [ https://issues.apache.org/struts/browse/TILES-238 ]. This way the "main layout" ftl template remains buffered and discarded thanks to 1. No messed output, you get a clear error page. 3. xwork-2.1.x - result exceptions now are properly handled from ExceptionMappingInterceptor. [ http://jira.opensymphony.com/browse/XW-521 ] This was a simple test setup simply replacing tiles-2.0.5 from the distro with tiles-2.0.6. I'm not sure how trivial or complex the integration steps shoud be. Cheers, Rado --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]