JSP Declaration

Domain Hosting image
Web Hosting
Dedicated server
ssl certificate
Web Design image
Email
A JSP declaration declares one or more variables and methods, which will be used in the JSP file. It is nothing but declaring variables and methods like in normal java program, but within a JSP syntax. The declarations must be a valid java syntax and must end with a semi colon. Any number of variables and methods can be declared within a single declaration statement. A declaration is valid in the JSP page and any of its static include files.

<html>
<title>Include</title>
<body bgcolor="Lightgreen">
<%@ page language="java"%>
<h1><I>Hello,</I>Welcome to JSP World</h1>
<%@include file="date.jsp"%>
<h3>We are coming back soon</h3>
</body>
</html>
<%!private int l=4;
public void mymethode(){
//Some Process}%>



Domain Name Search

www.


Copyright (C) 2007. Web Domain design hosting. All rights reserved.