JSP

JSP Projects

JSP Project

Example of JSP using Tags
Previous Home Next

 

This example shows the use of JSP tags directive tags , Expression tags , Declarative tags action tags etc.

Declaration ,directive ,Expression ,Action ,Scriplet are the tags used in this example.
 


 

<%--
Document : index
Created on : Mar 8, 2011, 11:17:49 PM
Author : R4R
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<%@ page language="java"%>
<% out.println("Hello world");%>
<h1>Hello world!</h1>



</body>
</html>

        
        Hello world

        

Hello world!

Previous Home Next