Page directive

General syntax for the page directive is <%@ page optional attribute … %> There are many optional attributes available for page directive. Each of these attributes are used to give …

JSP Directives

In this JSP tutorial, you will learn about Directive tag with example, page directive, language, extends, import, session and buffer. Directive tag: The directive tag gives special information about the …

JSP-Declaration tag

Declaration tag: Declaration tag is used to define functions, methods and variables that will be used in Java Server Pages. Notation of the Declaration tag is shown below: <%! %> …

JSP-Expression tag

  Expression tag is used to display output of any data on the generated page. The data placed in Expression tag prints on the output stream and automatically converts  data …

JSP Tags

  In this JSP tutorial, you will learn about JSP tags, list of the tags used in Server Pages, declaration tag, general syntax of declaration tag, expression tag and general …

Creating your first JSP page

 <html> <head> <title>My first JSP page </title> </head> <body> <%@ page language=”java” %> <% out.println(“ProgrammingVilla”); %> </body> </html> Type the code above into a text file. Name the file myfirst.jsp. …

JSP introduction

Sun Microsystems JSP (Java Server Page) technology, is an object-oriented programming language based on Java. JSP is used to develop interactive and dynamic web sites and create database driven web …