iTech College - Internet Technology, Online Education, E-Learning, Technician Training, Tech Tutorials, Distance Education, Virtual Learning JSP Course: For Loop - www.itechcollege.com JSP Course: For Loop - www.itechcollege.com
Online Degrees Scholarships & Fellowships Internships Student Financial Aid Study Abroad Itech Bookstore
Free Courses
HTML
JavaScript
CSS
ASP
PHP
JSP
ASP.NET
SQL
AJAX
FTP
XML
Career Center
Job List
Web Jobs
Student Jobs
Computer Jobs
Engineer Jobs
Developer Jobs
Job Search
Resume Writing
Job Interview
Salary Info


itech > courses > JSP > For Loop

Loop: For

You can write a loop using For ... Next. For example;

<html>
<body>
<% for (int i=1; i<6; i++){ %>
	<font size= <%= i %> >
	 Welcome </font> <br>
<%}%>
</body>
</html>
It will be executed by the server and convert into this html code;
<html>
<body>
<font size= 1 > Welcome </font> <br>
<font size= 2 > Welcome </font> <br>
<font size= 3 > Welcome </font> <br>
<font size= 4 > Welcome </font> <br>
<font size= 5 > Welcome </font> <br>
</body>
</html>
  Back to Index Page
Next Page >>   Introduction
JSP Tags and Include File
println and getParameter
The If Statement
For Loop
Redirect
Session
Use Database
JSP syntax
Scripting elements
Actions
 

JSP Books
JSP Jobs



Bookmark:  del.icio.us digg facebook Reddit Mixx BlinkList Fark Furl NewsVine Simpy Spurl Segnalo Technorati blogmarks Google YahooMyWeb Windows Live



JSP Course: For Loop - www.itechcollege.com
Copyright ©2008, itechcollege.com. All rights reserved
iTechCollege | About iTech | Contact iTech