iTech College - Internet Technology, Online Education, E-Learning, Technician Training, Tech Tutorials, Distance Education, Virtual Learning JSP Course: Basic syntax - www.itechcollege.com JSP Course: Basic syntax - 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 > Basic syntax

JSP syntax

Comparing to other server side technologies, JSP's own syntax is simple. We can divide JSP elements in two groups: Scripting elements and Action elements. Scripting elements use tags like that: <% script %>, and action elements use XML-like tags: <jsp:action />.

Scripting
Tag Syntax Description
Directives <%@ directive %> handle pages and define the scripting language.
Declarations <%! declaration %> declares variables or methods.
Expressions <%= expression %> the result will display to browers..
Scriptlet <% scriptlet %> handle code fragment valid in the page scripting language.
Comments <%-- comment --%> is used to put comments.
Action
Tag Syntax Description
useBean <jsp:useBean .../> allows a page to use a Java Bean
setProperty <jsp:setProperty .../> is used set bean properties
getProgperty <jsp:getProperty .../> is used to get bean properties
param <jsp:param .../> is used to provide key/value information
forward <jsp:forward .../> forward a page.
include <jsp:include .../> include a file in the current JSP page
plugin <jsp:plugin .../> enables a JSP page author to generate HTML that contains the appropriate client browser

  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: Basic syntax - www.itechcollege.com
Copyright ©2008, itechcollege.com. All rights reserved
iTechCollege | About iTech | Contact iTech