Pr.Pg Next Pg

What is Jsp tutorials

  • Java Server Pages(JSP) is a technology that helps software developers to create dynamically generated web pages based on HTML, XML, or other document types. Released in 1999 by Sun Microsystems.

  • JSP is similar to PHP, but it uses the Java programming language.

  • JSP helps the developer to insert java code inside HTML by making use of JSP tags most commonly scriptlet  starts with <% and ends with %> which is very useful for generating dynamic contains on a web page.

  • JSP are direct extension of Java servlets and provide a way to separate contents generation from content presentation. The JSP engine is just another servlets that is mapped to the extension *.jsp

  • JavaServer Pages inherit the concepts of Applications, ServletContexts, Sessions, Requests, and Responses from the Java Servlets API and offer the same portability, performance, and scalability as servlets.

  • Jsp tags can be use for various purpose such as retrieving data from database, registering user preferences, accessing JavaBeans components, passing control between pages and sharing information between requests pages etc.

  • JSP are deployed and run on Servlet container such as Apache Tomcat or Blazix.


Why to use JSP

  • JSP is easy to learn and allow developers to quickly produce a web application, JSP also helps a web designer to create dynamic web pages.

  • JSP allow you to write a Java code inside a HTML which is quite easy as compare to servlet which contain HTML code inside Java code.

  • JSP offers a robust platform for web development.

  • JSP are multiplatform so you can take one JSP file and move it to another platform, web servers or JSP Servlet engine.

  • By using JSP you are never locked into one vendor or platform.

  • In JSP components can be reuse by using Javabeans and EJB.

  • JSP reaps all the benefits provided by JAVA servlets and web container environment, but they have an added advantage of being simpler and more natural program for web enabling enterprise developer.

Pr.Pg border                                              Next Pg