<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Java Interview Questions &#187; Explain Jsp Directives</title>
	<atom:link href="http://www.bestjavainterviewquestions.com/category/explain-jsp-directives/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bestjavainterviewquestions.com</link>
	<description>Java Interview Questions &#124; Core Java Interview Questions &#124; Advanced Java Interview Questions &#124; EJB Interview Questions &#124; J2EE Interview Questions &#124; Hibernate Interview Questions</description>
	<lastBuildDate>Fri, 03 Feb 2012 10:23:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Explain Jsp Directives</title>
		<link>http://www.bestjavainterviewquestions.com/explain-jsp-directives/</link>
		<comments>http://www.bestjavainterviewquestions.com/explain-jsp-directives/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 18:27:14 +0000</pubDate>
		<dc:creator>Ramakrishna</dc:creator>
				<category><![CDATA[Explain Jsp Directives]]></category>
		<category><![CDATA[jsp directives]]></category>

		<guid isPermaLink="false">http://www.bestjavainterviewquestions.com/?p=413</guid>
		<description><![CDATA[sp Directives:- As part of Jsp&#8217;s we can provide the Jsp Directives using the Syntax: &#60;%@ java directives %&#62; It is an instruction given by the JSP Developers to the Jsp Compiler. If we need to use the class and interfaces that are part of the packages, as part of java code we must use [...]]]></description>
			<content:encoded><![CDATA[<p>sp Directives:-</p>
<p>As part of Jsp&#8217;s we can provide the Jsp Directives using the Syntax:</p>
<p>&lt;%@</p>
<p>java directives</p>
<p>%&gt;</p>
<p>It is an instruction given by the JSP Developers to the Jsp Compiler.<br />
If we need to use the class and interfaces that are part of the packages, as part of java code we must use the import statement in the java file as shown below.<br />
Such as Here given an example for importing the packages, in the servlet programming</p>
<p>import java.lang.*;<br />
import javax.servlet.*;<br />
import java.sql.*;</p>
<p>But In the Jsp&#8217;s we can&#8217;t provide the import statement as shown above. For importing the packages we can use the following JSP Page Directives<br />
The above packages can be written in jsp as shown below.This syntax is what we called as Jsp Directives</p>
<p>&lt;%@ page import=&#8221;java.lang.*&#8221;  %&gt;<br />
&lt;%@ page import=&#8221;javax.servlet.* %&gt;<br />
&lt;%@ page import=&#8221;java.sql.*  %&gt;</p>
<h2  class="related_post_title">Random Posts</h2><ul class="related_post"><li>July 15, 2008 -- <a href="http://www.bestjavainterviewquestions.com/springs-interview-questions-3/" title="Springs Interview Questions">Springs Interview Questions</a> (1)</li><li>September 2, 2008 -- <a href="http://www.bestjavainterviewquestions.com/define-session-tracking/" title="Define Session Tracking">Define Session Tracking</a> (0)</li><li>June 24, 2008 -- <a href="http://www.bestjavainterviewquestions.com/java-jdbc-questions/" title="Java-Jdbc Questions">Java-Jdbc Questions</a> (0)</li><li>September 2, 2008 -- <a href="http://www.bestjavainterviewquestions.com/maintaining-servlet-session-and-ejb-session/" title="Maintaining Servlet Session and EJB Session">Maintaining Servlet Session and EJB Session</a> (0)</li><li>August 24, 2008 -- <a href="http://www.bestjavainterviewquestions.com/define-nullpointerexception/" title="Define NullPointerException">Define NullPointerException</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bestjavainterviewquestions.com/explain-jsp-directives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

