home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 March / PCWorld_2001-03_cd.bin / Software / Komercni / VAgeJava / ivj35 / setup / JSP.Cab / F27232_LeapYearResults091.jsp < prev    next >
Text File  |  2000-08-10  |  845b  |  38 lines

  1. <HTML>
  2. <!-- This file was generated by the VisualAge for Java Servlet Wizard. -->
  3.  
  4. <HEAD>
  5. <TITLE>The Next 10 Leap Years</TITLE> 
  6. </HEAD>
  7.  
  8. <BODY BGCOLOR=#C0C0C0>
  9. <H1>The Next 10 Leap Years</H1>
  10. <P>
  11. <BEAN NAME="leapYearBean" TYPE="com.ibm.ivj.wte.samples.leapyear.LeapYearBean" SCOPE="request" INTROSPECT="no" CREATE="no">
  12. </BEAN>
  13. <TABLE border="1">
  14.  
  15. <TR>
  16.   <TD>Start Year</TD> 
  17.   <TD>
  18.     <%=leapYearBean.getStartYear() %>
  19.   </TD>
  20. </TR><BR>
  21. <TR>
  22.   <TD>
  23.     <TABLE border=1>
  24.       <TR><TD>Leap Years</TD><TD></TD></TR>
  25.       <% for (int _i=0; _i < leapYearBean.getLeapYears().length; _i++) { %>
  26.       <TR> <TD></TD><TD><%=leapYearBean.getLeapYears(_i) %> </TD></TR>
  27.       <% } %>
  28.     </TABLE>
  29.   </TD>
  30.   <TD></TD>
  31. </TR>
  32.  
  33. </TABLE>
  34. <P>
  35. <A HREF="/JSP/index.html">Back to the Samples Index Page</A>
  36. </BODY>
  37. </HTML>
  38.