April
29th 2008
Define JSP

Posted under Uncategorized

What is JSP?

JSP stands for Java Server Pages.JSP is the normal HTML with Java code pieces embedded in them. JSP are a way to create dynamic Web content.JSP may also be used to generate and consume XML between n-tier servers or between servers and clients.It is a technology used for controlling the content or appearance of Web pages through the use of servlet s, small programs that are specified in the Web page and run on the Web server to modify the Web page before it is sent to the user who requested it. Sun Microsystems, the developer of Java, also refers to the JSP technology as the Servlet application program interface (API). JSP is comparable to Microsoft’s Active Server Page (ASP ) technology. Whereas a JSP calls a Java program that is executed by the Web server, an ASP contains a script that is interpreted by a script interpreter (such as VBScript or JScript) before the page is sent to the user. However, JSP technology provides a more convenient way to code a servlet. Translation occurs the first time the application is run. A JSP translator is triggered by the .jsp file name extension in a URL. JSPs are fully interoperable with servlets. You can include output from a servlet or forward the output to a servlet, and a servlet can include output from a JSP or forward output to a JSP.

No Comments »

Trackback URI | Comments RSS

Leave a Reply