So, me and my colleagues have looked at this. And it seems like the approach I presented will not work at this point.
So, we may need to do / think of another way such as doing a servlet approach, but it can do a lot of changes in our code. So now, we may need to disable SDI as of the moment.
Thank ...