This tutorial has been making for the beginners to help them understand basic concept of Java Server Pages (JSP) to create your dynamic web applications in simple and easy away. After completing this tutorial you will find yourself at a moderate level of expertise in using JSP from where you can take yourself to next levels.
We assume that you have little bit knowledge of how to work dynamic web application over HTTP ,what is web server and application server ,GET and POST method, what is web browsers. It will be too much better if you have some knowledge of dynamic web application development using any programming language.
Java Server Pages(JSP) is server side programming technology that help software developers create dynamically web pages in simple and easy steps base on HTML ,XML etc.JSP is similar to PHP and ASP etc.Jsp is the extensions of Servlet .Java Server Pages can access to the entire Java API(Application Programming Interface) with JDBC API to access database.
Developer can insert java code inside the JSP page inside the using special JSP tags that start with <% and end with %>.so we can say that Java Server Pages contain java code, HTML and JSP tag.
1. Easy to maintain.
2. Fast Development.
3. Less code than servlet.
1. Java Server Pages(JSP) are built on top of the Java Servlets API(Application Programming Interface), so like JSP can also access to all the powerful Enterprise Java APIs, including JDBC, JNDI, EJB, JAXP etc.
2. JSP pages can be used in combination with servlets that handle the business logic, the model supported by Java servlet template engines.
JSP released in 1999 by Sun MicroSystem.