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
Free Courses
HTML
JavaScript
CSS
ASP
PHP
JSP
C++
ASP.NET
SQL
AJAX
FTP
XML

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


Online Education, Online Training for Your Job, Distance Education, E-learning Programs for Your Career!Online Colleges, Online Universities, E-learning & Distance Education for Your Career! Easy Job Training & Online Courses.


   Email A Friend  
 
Earn Online Degree
for Your Job
I found a job after I earned an online degree!
Online classes for finding a Job. Online College, Online University, Degrees, E-learning school, online certificate Earn your
online degree now!
Online Training
for Good Job
Why I work so hard but earn so little? Why I cannot find a high paying job?
Online training for a Good Jobs. Online Degree, E-learning school, online certificate Go to
online school now!

Copyright ©2024, itechcollege.com. All rights reserved
iTechCollege | About iTech | Contact iTech