Java Server Pages is a technology which permits software developers to create dynamic request like HTML, XML in order to answer to client request in the net. This technology lets Java code and definite pre-defined procedures to be implanted into static content. The syntax in Java Server Pages includes a supplementary XML tag which is known as JSP actions. It is made use to evoke the utility of the built-in functions. Moreover JSP permits to establish and form the JSP tag libraries which operate as an extension to the standard XML or HTML tags. These JSP tag libraries give a good technique to widen the potentiality of the Web server by providing an independent platform.
JSP compiler compiles the JSPs into Java Servlets. A JSP compiler may possibly create a servlet in Java code and it is later compiled by the Java compiler. It might even directly produce the byte code for the servlet. Java Server Pages can be examined as a high level abstraction of servlets which is practiced as an extension of the Servlet2.1 API. The Java Server Pages and the Servlets were initially developed at Sun Microsystems. Opening with version 1.2 of the Java Server Page specification the JSPs have been built under the Java Community Process.
There are quite a few JSP implicit objects that are represented by the JSP container and it could be mentioned and indicated by the programmers.
oConfig – It gives the data of the servlet configuration.
oApplication – Data’s are shared by the servlets and Java Server Pages in the application.
oException – Exceptions are not trapped by the codes in the application.
oOut – The data’s are written with the help of JSP Writer to the response stream.
oRequest – Here the Hypertext Transfer Protocol request the object.
oResponse – Here the Hypertext Transfer Protocol response the object
oSession – It is helpful to trace the data’s and information about a user from one request to another request.
There are several actions that are performed in JSP actions. A JSP action is nothing but a XML tags that invokes functionality of the built-in web server. Some of the JSP action is given as follows.
Jsp:param – It indicates a parameter which will be added in addition to the request of the existing parameters. It is used inside the jsp:params or jsp:include, jsp:forward blocks
Jsp:include – Java Servlet provisionally gives the request and response off to the specific Java Server Page. The Control will later come again to the existing JSP as soon as the other JSP has completed. With the help of this the JSP code will be distributed among several other JSPs rather than replica.
Jsp:forward – This JSP action is used to give off the request/response to the other servlet or JSP. The control will not come back to the existing JSP.
Jsp:plugin – The ancient version of web browsers like Internet Explorer and Netscape Navigator use various tags to embed an applet. This action creates the definite tags that are required for a browser to include an applet.
Jsp:fallback – This action is used to confirm that if the browser never gives support to applets.
Jsp:getProperty – It obtains a property from the specific JavaBean.
Jsp:setProperty – It sets a property in the specific JavaBean.