<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7661835681959660851</id><updated>2011-04-21T10:46:52.679-07:00</updated><category term='jsp'/><category term='program jsp'/><category term='JavaServer Pages'/><title type='text'>program</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://program-jsp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7661835681959660851/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://program-jsp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>somjeed308</name><uri>http://www.blogger.com/profile/03848681855802725667</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7661835681959660851.post-7904561343601321246</id><published>2007-06-11T20:46:00.001-07:00</published><updated>2007-06-11T20:46:00.326-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaServer Pages'/><category scheme='http://www.blogger.com/atom/ns#' term='program jsp'/><category scheme='http://www.blogger.com/atom/ns#' term='jsp'/><title type='text'>JavaServer Pages</title><content type='html'>JavaServer Pages (JSP) is a Java technology that allows software developers to dynamically generate HTML, XML or other types of documents in response to a Web client request. The technology allows Java code and certain pre-defined actions to be embedded into static content.&lt;br /&gt;&lt;br /&gt;The JSP syntax adds additional XML-like tags, called JSP actions, to be used to invoke built-in functionality. Additionally, the technology allows for the creation of JSP tag libraries that act as extensions to the standard HTML or XML tags. Tag libraries provide a platform independent way of extending the capabilities of a Web server.&lt;br /&gt;&lt;br /&gt;JSPs are compiled into Java Servlets by a JSP compiler. A JSP compiler may generate a servlet in Java code that is then compiled by the Java compiler, or it may generate byte code for the servlet directly.&lt;br /&gt;&lt;br /&gt;JSP and Servlets&lt;br /&gt;Architecturally speaking, JSP can be viewed as a high-level abstraction of servlets that is implemented as an extension of the Servlet 2.1 API. Both servlets and JSPs were originally developed at Sun Microsystems, initially created by Anselm Baird-Smith and later elaborated on as a specification by Satish Dharmaraj. Starting with version 1.2 of the JSP specification, JavaServer Pages have been developed under the Java Community Process. JSR 53 defines both the JSP 1.2 and Servlet 2.3 specifications and JSR 152 defines the JSP 2.0 specification. As of May 2006 the JSP 2.1 specification has been released under JSR 245 as part of Java EE 5.&lt;br /&gt;&lt;br /&gt;JSP syntax&lt;br /&gt;A JavaServer Page may be broken down into the following pieces:&lt;br /&gt;&lt;br /&gt;    * static data such as HTML,&lt;br /&gt;    * JSP directives such as the include directive,&lt;br /&gt;    * JSP scripting elements and variables,&lt;br /&gt;    * JSP actions,&lt;br /&gt;    * custom tags&lt;br /&gt;&lt;br /&gt;JSP directives&lt;br /&gt;JSP directives control how the JSP compiler generates the servlet. The following directives are available:&lt;br /&gt;&lt;br /&gt;JSP actions&lt;br /&gt;JSP actions are XML tags that invoke built-in web server functionality. They are executed at runtime. Some are standard and some are custom(which are developed by Java developers.) Following are the standard ones:&lt;br /&gt;&lt;br /&gt;jsp:include&lt;br /&gt;    Similar to a subroutine, the Java servlet temporarily hands the request and response off to the specified JavaServer Page. Control will then return to the current JSP, once the other JSP has finished. Using this, JSP code will be shared between multiple other JSPs, rather than duplicated.&lt;br /&gt;jsp:param&lt;br /&gt;    Can be used inside a jsp:include, jsp:forward or jsp:params block. Specifies a parameter that will be added to the request's current parameters.&lt;br /&gt;jsp:forward&lt;br /&gt;    Used to hand off the request and response to another JSP or servlet. Control will never return to the current JSP.&lt;br /&gt;jsp:plugin&lt;br /&gt;    Older versions of Netscape Navigator and Internet Explorer used different tags to embed an applet. This action generates the browser specific tag needed to include an applet.&lt;br /&gt;jsp:fallback&lt;br /&gt;    The content to show if the browser does not support applets.&lt;br /&gt;jsp:getProperty&lt;br /&gt;    Gets a property from the specified JavaBean.&lt;br /&gt;jsp:setProperty&lt;br /&gt;    Sets a property in the specified JavaBean.&lt;br /&gt;jsp:useBean&lt;br /&gt;    Creates or re-uses a JavaBean available to the JSP page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7661835681959660851-7904561343601321246?l=program-jsp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://program-jsp.blogspot.com/feeds/7904561343601321246/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7661835681959660851&amp;postID=7904561343601321246' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7661835681959660851/posts/default/7904561343601321246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7661835681959660851/posts/default/7904561343601321246'/><link rel='alternate' type='text/html' href='http://program-jsp.blogspot.com/2007/06/javaserver-pages.html' title='JavaServer Pages'/><author><name>somjeed308</name><uri>http://www.blogger.com/profile/03848681855802725667</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
