JSP Tutorial





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
JSP Tutorial
Introduction Introduction
Installing JDK-Windows Installing JDK-Windows
Installing JDK-Linux Installing JDK-Linux
Installing Tomcat Installing Tomcat
Simple Program in JSP Simple Program in JSP
Pre-defined Variables Pre-defined Variables
Syntax of Tags Syntax of Tags
JSP Expression Language JSP Expression Language
JSP EL Operators JSP EL Operators
EL Implicit Variables EL Implicit Variables
Scopes Scopes
Using Arrays Using Arrays
Methods Methods
JSP Elements JSP Elements
Including Beans Including Beans
JSTL Tags JSTL Tags
Custom Tags Custom Tags
Session Session in JSP
Handling Cookies Handling Cookies
JSP Application Structure JSP Application Structure
Configuring web.xml Configuring web.xml
Tomcat Configuration Tomcat Configuration
JSP Examples JSP Examples
Forums Ask Your Doubts
Feedback Feedback
 






outsourced web hosting support

JSP Tutorial - JavaServer Pages

Tutorial Index



JSP Installation

Installing JDK-Windows
Installing JDK-Linux
Installing Tomcat

Example in JSP

Simple JSP Program

Variables

Variables in JSP

Syntax of Tags

Syntax of JSP Tags
JSP Elements
Directives
Page Directive
Include Directive
Taglib Directive
Standard JSP Tags
JSP Scriptlets
JSP Expression

Custom Tags

Custom JSP Tags
Creating Java File
Creating TLD
Using TLD

Methods

Methods in JSP

JSP Expression Language

Expresion Language

JSP EL Operators

Arithmetic Operators
Logical Operators
Relational Operators
Empty Operator

EL Implicit Variables

Implicit Variables

JSP JSTL Tags

JSTL
CORE Tags
<c:remove>,<set:>
<c:choose>
<c:forEach>
<c:forTokens>
<c:if>
<c:import>
<c:redirect>
<c:url>
<c:catch>
<c:out>
Function Tags
fn:contains()
fn:containsIgnoreCase
fn:endsWith()
fn:escapeXml()
fn:indexOf()
fn:join()
fn:length()
fn:replace()
fn:split()
fn:startsWith()
fn:substring()
fn:substringAfter()
fn:substringBefore()
fn:toLowerCase()
fn:toUppercase()
fn:trim()
Database Tags
Formatting Tags
XML Tags

Including Beans

Using Beans in JSP

Configuring web.xml

Syntax of web.xml
Welcome-File
Session Configuration
Error-Page
URL Mapping

Session in JSP

Session Handling
Cookies in JSP
Application Structure

JSP Tomcat Configuration

Tomcat Configuration

JSP Examples

Example 1
Example 2
Feedback


Introduction

JSP-JavaServer Pages is a server side programming language. It is an object oriented language that uses the Java servlets technology. JSP provides the flexibility to handle large amount of dynamic data, databases with performance and stability

It has the ability to integerate with HTML very easily to enhance the presentation of a page. JSP pages helps to differentiate the design from the programming logic of a web page. Since it is plaform independent it can be used with any server.

To use Java Server Pages, both JDK and Tomcat server have to be installed. Next we will see how to install JDK and Tomcat.

Simple JSP java servlets tutorial for beginners and internediate developers.



A Note
JSP(Java Server Pages) is one of the most used Server Side Programming Language in the world. Simple introduction, basic program codes with examples. Begin coding your own JSP scripts with this online tutorial. Hope you enjoy this tutorial. Do send your feedback or suggestions on this JavaServer Pages tutorial. This is a copyright content.


Other Links

web hosting