View Single Post
  #11  
Old 09-13-2007, 12:38 AM
Venkat Venkat is offline
D-Web Master
 
Join Date: Mar 2007
Posts: 347
Venkat is on a distinguished road
Thumbs up Re: Java/J2EE interview Questions

what are include directives?
The include directive informs the JSP engine to include the content of the resource in thecurrent JSP page. Below is the syntax for include statement.
<%@ include file="Filename" %>
Below is a code snippet which shows include directive in action
<html>
<head>
<title>Directive in action</title>
</head>
<%@ include file="/companyname.html" %>
<body>
<h1>Directive in action</h1>
</body>
</html>companyname.html contains the following:
<p>Koirala and Koirala Limited</p>
__________________
Venkat
knowledge is Power
Reply With Quote