Introduction to Java Server Pages
 
Introduction to Java Server Pages
 
What is Java Server Page?
 
JSP stands for 'Java Server Pages'. These are pages which are used to run dynamic content to the user using logic and data (XML, Database etc) on the server side
 
JSP is a part of J2SE (Java 2 Standard Edition) and along with Java Servlets and Java Beans is used to develop efficient, scalable and secure web applications in quick time.
 
Java Server Pages is a technology specified by Sun Microsystems as a trouble-free way of generating dynamic content in pages that are output by a Web application (an application running on a Web server).
 
This technology, which is openly coupled with Java servlet technology, helps us to incorporate Java code snippets and calls to external Java components within the HTML code (or other markup code, such as XML) of our Web pages
 
Java Server Pages (JSP) technology works satisfactorily as a front-end for business logic and dynamic functionality in JavaBeans and Enterprise JavaBeans (EJBs).
 
JSP code is distinct from other Web scripting code, such as JavaScript, in a Web page. Anything that we can include in a ordinary HTML page can be incorporated in a JSP page as well. In a usual development for a database application, a JSP page will call a component such as a JavaBean or Enterprise JavaBean, and the bean will directly or indirectly access the database through JDBC.
 
A JSP page is translated into a Java servlet before being executed, and processes HTTP requests and generates responses similarly to any other servlet. JSP technology offers a more suitable way to code the servlet. The translation typically occurs on demand, but sometimes in advance
 
JSP pages are fully interoperable with servlets--JSP pages can comprise output from a servlet or forward to a servlet, and servlets can include output from a JSP page or forward to a JSP page.