Hi,
There is no global object to get the inheritedPageProperties in JSP. We have to use InheritanceValueMap to get the properties.
Use the following code snippet :
<%@ page import="com.day.cq.commons.inherit.HierarchyNodeInheritanceValueMap,
com.day.cq.commons.inherit.InheritanceValueMap
%>
<%
InheritanceValueMap ivm = new HierarchyNodeInheritanceValueMap(currentPage.getContentResource());
String language = ivm.getInherited("language", String.class);
boolean isEnglish = "en".equals(language);
%>
<c:if test="<%= isEnglish %>">
</c:if>
You can refer below link.
http://cq5experiences.blogspot.com/2014/04/inheriting-page-properties-of-parent.html
Hope this helps!
Regards,
TechAspect Solutions