About Java Server Pages

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.

• Config – It gives the data of the servlet configuration.

• Application – Data’s are shared by the servlets and Java Server Pages in the application.

• Exception – Exceptions are not trapped by the codes in the application.

• Out – The data’s are written with the help of JSP Writer to the response stream.

• Request – Here the Hypertext Transfer Protocol request the object.

• Response – Here the Hypertext Transfer Protocol response the object

• Session – 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.

About Author

Nila - Java Server Pages

Source: ArticleTrader.com


Other articles in Technology category

Motorola Blue Tooth Headset Makes Impressive Innovations

When it comes to miniaturization and aggressive innovations, the Motorola blue tooth headset unveiled at the 2006 electronics show, sets a new standard for both. With the smallest and lightest in-the-ear Motorola blue tooth headset, dubbed the Miniblue, the entire earpiece and microphone, which... More...

California Web Directory

A student, businessman, or a connoisseur of arts - California Directory welcomes all. We provide the best content based on the proper research and evaluation of the source from which we collect it. Therefore, there is no chance that a visitor gets disappointed after a pleasurable navigation... More...

Noise Canceling Headset Works by Reducing Low Frequencies

A very tiring aspect to using a headset is the continual background noises that interrupt the listening experience and very often the background noises are louder than one would expect. Most people may have tried ear plugs which may help in feeling less irritation but a high tech solution seems... More...


web tracker