home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2001 March
/
PCWorld_2001-03_cd.bin
/
Software
/
Komercni
/
VAgeJava
/
ivj35
/
setup
/
JSP.Cab
/
F27231_LeapYearResults.jsp
< prev
next >
Wrap
Text File
|
2000-08-10
|
832b
|
38 lines
<HTML>
<!-- This file was generated by the VisualAge for Java Servlet Wizard. -->
<HEAD>
<TITLE>The Next 10 Leap Years</TITLE>
</HEAD>
<BODY BGCOLOR=#C0C0C0>
<H1>The Next 10 Leap Years</H1>
<P>
<jsp:useBean id="leapYearBean" class="com.ibm.ivj.wte.samples.leapyear.LeapYearBean" scope="request"></jsp:useBean>
<TABLE border="1">
<TR>
<TD>Start Year</TD>
<TD>
<%=leapYearBean.getStartYear() %>
</TD>
</TR><BR>
<TR>
<TD>
<TABLE border=1>
<TR><TD>Leap Years</TD><TD></TD></TR>
<% for (int _i=0; _i < leapYearBean.getLeapYears().length; _i++) { %>
<TR> <TD></TD><TD><%=leapYearBean.getLeapYears(_i) %> </TD></TR>
<% } %>
</TABLE>
</TD>
<TD></TD>
</TR>
</TABLE>
<P>
<A HREF="/JSP/index.html">Back to the Samples Index Page</A>
</BODY>
</HTML>