LPS40238 Glassfish page context

Hi  @shuyangzhou,

this issue is caused by having a null value in pageContext. This value is obtained from JspFactory.getDefaultFactory().getPageContext method.

I see the only call to JspFactory.getDefaultFactory is in RenderStructureFieldAction, so shouldn't cause any trouble.

BUT seems to cause some error in Websphere: https://issues.liferay.com/browse/LPS-11797 so we shouldn't add for every server.

@igorspasic Please can you check if this issue isn't reproducible in more app servers? If there are more cases, perhaps we could follow this pattern for them.