Hi,

Am 07.03.2012 um 03:21 schrieb Markus Joschko:

> Hi,
> when and how are jsps recompiled by sling?
> 
> I have a jsp which is using a jsp include to include another jsp(fragment).
> 
> <%@include file="../../common/header.jsp"%>
> 
> When I update the bundle with an updated header fragment, the jsp that
> includes that fragment is not recompiled.
> A server restart also doesn't help. Anyway to get the updated header
> displayed without touching all jsps that include that?

IIRC we currently use JCR events to update the compilation needed status (which 
should include the @included files).

But you are deploying the JSP as bundle resources, so this might not properly 
work. I would assume this is a bug in how we handle this.

You might want to report a bug for the JSP scripting support bundle.

Regards
Felix

Reply via email to