So I'm used to PHP and here's what I don't get: if I include one JSP inside of another one, why wouldn't I have access to the same objects inside the included JSP? Example:
<% if(report.getWriterConfiguration().contains("Gauge")) { %>
<jsp:include page="writer/outGauge.jsp" />
<%
}
else {
But if I try to do anything with the report object in outGauge.jsp, it says it can't resolve 'report'. WTF?