Data hiding from the JSP page.

Java Primer
A JSP Architecture for Oracle Stored Procedures
by Satya Komatineni
Listing 4. Data hiding from the JSP page.


<%@ page import="com.storedProcedureFramework.*" %>
<%
//******************************************************
//* Get an IPageData  reference
//******************************************************
IPageData singleBookInfoPageData =
request.getAttribute("PAGE_DATA");
          new RelationalFormHandler(
            request,pageData,null);
  ILoopData authorsData =
singleBookInfoPageData.getLoopData ("authors");

//******************************************************
//* If there is no data, Report an error
//******************************************************
if (singleBookInfoPageData.isDataAvailable() == false)
   {
out.println(
"<html><body><p>No data found
              </p></body></html>");
 return;
   }
%>