<%
int hours = date.getHour();
/* ----- Changing the title, bgcolor, link color, and text color based on the time of day - using the methods in the Bean -- */
String bgcolor = date.getBGCOLOR();
String linkcolor = date.getLINKCOLOR();
String textcolor = date.getTEXTCOLOR();
String titl = date.getTITLE();
// ----- Changing the greeting based on the time of day - using the getGreeting() in the Bean
String greeting = date.getGREETING();
out.print(""+(titl)+""+(greeting)+" |
|
|