<?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 Expression</title>
	<atom:link href="http://www.bestjavainterviewquestions.com/category/explain-jsp-expression/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 Expressions</title>
		<link>http://www.bestjavainterviewquestions.com/explain-jsp-expressions/</link>
		<comments>http://www.bestjavainterviewquestions.com/explain-jsp-expressions/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 18:16:32 +0000</pubDate>
		<dc:creator>Ramakrishna</dc:creator>
				<category><![CDATA[Explain Jsp Expression]]></category>
		<category><![CDATA[Jsp Expression]]></category>

		<guid isPermaLink="false">http://www.bestjavainterviewquestions.com/?p=410</guid>
		<description><![CDATA[Jsp Expression:- As part of Jsp&#8217;s we can provide the Jsp Expressions using the Syntax: &#60;%= java expression %&#62; For Ex:- &#60;% int i=10; int j=20; String s1=&#8221;xxx&#8221; ,s2=&#8221;yyy&#8221;; %&#62; &#60;%= i+j %&#62; &#60;% new  java.util.Date() %&#62; &#60;br&#62; &#60;%= s1.equals(s2) %&#62; &#60;br&#62; &#60;%= request.getHeader(&#8220;User_Agent &#8220;) %&#62; &#60;br&#62; &#60;%= application.getInitParameter(&#8220;cpone&#8221;) %&#62; Jsp Expressions is nothing but [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Jsp Expression:-</strong></p>
<p>As part of Jsp&#8217;s we can provide the Jsp Expressions using the <strong>Syntax:</strong></p>
<p><em><strong>&lt;%=</strong></em></p>
<p><em><strong>java expression </strong></em></p>
<p><em><strong>%&gt;</strong></em></p>
<p><strong>For Ex:-</strong></p>
<p><em>&lt;% int i=10;</em></p>
<p><em>int j=20;</em></p>
<p><em>String s1=&#8221;xxx&#8221; ,s2=&#8221;yyy&#8221;;</em></p>
<p><em>%&gt;</em></p>
<p><em>&lt;%= i+j %&gt;</em></p>
<p><em>&lt;% new  java.util.Date() %&gt; &lt;br&gt;</em></p>
<p><em>&lt;%= s1.equals(s2) %&gt; &lt;br&gt;</em></p>
<p><em>&lt;%= request.getHeader(&#8220;User_Agent &#8220;) %&gt; &lt;br&gt;</em></p>
<p><em>&lt;%= application.getInitParameter(&#8220;cpone&#8221;) %&gt;</em></p>
<p>Jsp Expressions is nothing but showing the values of the variable as the output on the browser.</p>
<h2  class="related_post_title">Random Posts</h2><ul class="related_post"><li>April 4, 2009 -- <a href="http://www.bestjavainterviewquestions.com/java-interview-questions/" title="Java Interview Questions">Java Interview Questions</a> (0)</li><li>February 15, 2009 -- <a href="http://www.bestjavainterviewquestions.com/write-a-note-on-ejb-frame-work/" title="Write a note on EJB frame work">Write a note on EJB frame work</a> (0)</li><li>January 14, 2009 -- <a href="http://www.bestjavainterviewquestions.com/sockets-programming-in-java-for-clientserver/" title="Sockets programming in Java for Client/Server">Sockets programming in Java for Client/Server</a> (0)</li><li>October 5, 2008 -- <a href="http://www.bestjavainterviewquestions.com/difference-between-errortag-and-message-tag/" title="Difference between errortag and message tag">Difference between errortag and message tag</a> (0)</li><li>September 30, 2008 -- <a href="http://www.bestjavainterviewquestions.com/define-implicit-variables-in-jsp/" title="Define Implicit Variables in JSP">Define Implicit Variables in JSP</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bestjavainterviewquestions.com/explain-jsp-expressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

