JSP In Class Assg 1 Do same thing using JSP tags instead of scripting tags Chapter 9 © copyright Janson Industries 2011
In Class Assg 1 - solution <HTML> <HEAD> <TITLE> JSP Example </TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF"> <jsp:scriptlet> for (int i = 0; i < 5; i++) { </jsp:scriptlet> <P>Howdy from the JSP example.</P> <jsp:scriptlet> } </jsp:scriptlet> <P>The current date and time is: <jsp:expression> new java.util.Date() </jsp:expression> </P> </BODY> </HTML> Chapter 8 © copyright Janson Industries 2011