LPS-44010 Encapsulate logic in one single method. I needed to used reflection to obtain the method from the jsp because they are in different classloaders because it's a hook.