次のようなコードを持つ親JSPがあります
<jsp:include page='a.jsp' flush='true'/>
<jsp:include page='b.jsp' flush='true'/>
<jsp:include page='c.jsp' flush='true'/>
a.jsp
アクセスする必要のあるJavaオブジェクトがありますc.jsp
コードをa.jspから親jspに移動せずにこれを行う方法はありますか?
a.jspは次のようになります。
<%@ page import="com.xxx.yyy.myClass" %>
<%
// Some processing here
%>
<table width="100%" cellspacing="0" class="scrollableTable">
<thead>
<tr>
<%
// Some processing here
w_myObject = myAPI.getmyObject(param1, param2);
// Some processing here
%>
</tr>
<!-- Display contents of w_myObject in subsequent rows of this table, here -->
</thead>
</table>
そして、c.jspのw_myObjectにアクセスしたい