Hi Markus

I believe that Sling has no knowledge of standard JSP includes, and thus
fails to invalidate the including scripts.

The easiest workaround is to delete the compiled classes below
/var/classes/org/apache/jsp (this is off the top of my head, may be
slightly different). This way you don't need to touch all files
individually.

Regards
Julian


On Wednesday, March 7, 2012, Markus Joschko <[email protected]>
wrote:
> 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?
>
> Thanks,
>  Markus
>

Reply via email to