Prof. Neeraj Bhargava Kapil Chauhan Department of Computer Science School of Engineering & Systems Sciences MDS University, Ajmer
 JavaServer Pages (JSP) technology provides a simplified, fast way to create web pages that display dynamically-generated content.  A JSP page is a page created by the web developer that includes JSP technology-specific and custom tags, in combination with other static (HTML or XML) tags.
<%@ page language=“java”%> <%@ page contentType="text/html; charset=ISO-8859-1"%> <html> <head> <title>A simple case</title> </head> <body bgcolor="#FFFFFF" text="#000000"> <% String temp="the time now is:";%> <%=temp%> <%=(new java.util.Date()).toString()%> </body> </html>
*.class request response jsp parser JDK *.jsp *.java implementation
 Coding in JSP is easy  Reduction in the length of Code  Connection to Database is easier  Make Interactive websites  Portable, Powerful, flexible and easy to maintain  Extension to Servlet
 Difficult to debug for errors.  First time access leads to wastage of time  It’s output is HTML which lacks features.

Jsp

  • 1.
    Prof. Neeraj Bhargava KapilChauhan Department of Computer Science School of Engineering & Systems Sciences MDS University, Ajmer
  • 2.
     JavaServer Pages(JSP) technology provides a simplified, fast way to create web pages that display dynamically-generated content.  A JSP page is a page created by the web developer that includes JSP technology-specific and custom tags, in combination with other static (HTML or XML) tags.
  • 3.
    <%@ page language=“java”%> <%@page contentType="text/html; charset=ISO-8859-1"%> <html> <head> <title>A simple case</title> </head> <body bgcolor="#FFFFFF" text="#000000"> <% String temp="the time now is:";%> <%=temp%> <%=(new java.util.Date()).toString()%> </body> </html>
  • 5.
  • 6.
     Coding inJSP is easy  Reduction in the length of Code  Connection to Database is easier  Make Interactive websites  Portable, Powerful, flexible and easy to maintain  Extension to Servlet
  • 7.
     Difficult todebug for errors.  First time access leads to wastage of time  It’s output is HTML which lacks features.