Introduction to JSP - A Guide for Java Developers

Java Developers who develop application on various Java software technologies should also be aware of JSP which is JavaServer Pages. JSP provides the client a desired page from server by generating it run-time. This article intended to provide introduction to JSP to make a dynamically generated web page on client's demand.
JavaServer Pages which is widely known and pronounced as JSP is a technology that works at server side. This Java Technology allows Java Developers to create pages in run-time environment whenever web client send request for certain page to server. JSP does this with supporting XML and hyper text document types. JSP pages are loaded at the server and executed from Java Server packet. This server packet is called J2EE Web Application.

This Java Technology helps Java Developers to embed code in to static web pages and allow them to be compiled at run time when any request arrives. Java Server pages works very closer and with the support provided by JVM (Java Virtual Machine) which is integrated with host operating system which can be vary from terminal to terminal.

There are basically two terminologies are there which are used when discussing JSP. One is Scriptlet and Markup through HTML or XML. These both terms indicates two different syntax used in JSP.

Scriptlet code block do not require to be completed in the immediate block but it can be completed in the later block. JSP code evaluation, validation and compilation is done dynamically which means run time. This run time compilation is not getting repeated every time but only when any change to code happens. Java Developers should be aware of the thing that JSP syntax adds additional XML tags as a part of JSP action.
   By Dharmayu Purohit
Published: 10/1/2009
 
Use the feedback form below to submit your comments.
Your Comments:
Your Name:
Use the form below to email this article to your friends.
Recipient Email Address:
 Separate multiple email addresses by ;
Your Name:
Your Email Address: