tailieunhanh - The JSP Files (Part 3) - Black Light and White Rabbits

Last time out, you learned a little bit about the various conditional statements and operators available in JSP. This week, we'll expand on those basics by teaching you a little bit about the different types of loops available in JSP, discuss a few more String object methods, and take a quick tour of the new Response object. First up, loops. As you may already know, a "loop" is a programming construct that allows you to execute a set of statements over and over again, until a pre−defined condition is met | Is The JSP Files part 3 Black Light And White Rabbits By Vikram Vaswani and Harish Kamath This article copyright Melonfire 2000-2002. All rights reserved. The JSP Files part 3 Black Light And White Rabbits Table of Contents Counting Doing More With For-gone The Sound Of Breaking Paying The Screaming Out You Say Seven I Say A Positive i Counting Down Last time out you learned a little bit about the various conditional statements and operators available in JSP. This week we ll expand on those basics by teaching you a little bit about the different types of loops available in JSP discuss a few more String object methods and take a quick tour of the new Response object. First up loops. As you may already know a loop is a programming construct that allows you to execute a set of statements over and over again until a pre-defined condition is met. The most basic loop available in JSP is the while loop and it looks like this while condition do this Or to make the concept clearer while temperature is below freezing wear a sweater The condition here is a standard conditional expression which evaluates to either true or false. So were we to write the above example in JSP it would look like this while temp 0 sweater true Here s an example html head head body int countdown 30 Counting Down Developer Shed

TỪ KHÓA LIÊN QUAN