Introduction of JSP

intro to jsp

A JavaServer page (JSP) is a template for a Web page that uses Java code to generate an HTML document dynamically. JSPs are run in a server-side component known as a JSP container, which translates them into equivalent Java servlets.

For this reason, servlets and JSP pages are intimately related. What’s possible in one is, in large part, also possible in another, although each technology has its individual strengths. Because they are servlets, JSP pages have all the advantages of servlets:

  •  They have better performance and scalability than CGI scripts because they are persistent in memory and multithreaded.
  •  No special client setup is required.
  •  They have built-in support for HTTP sessions, which makes application programming possible.
  •  They have full access to Java technology–network awareness, threads, and database connectivity—without the limitations of client-side applets.

But, in addition, JSP pages have advantages of their own:

  •  They are automatically recompiled when necessary.
  •  Because they exist in the ordinary Web server document space, addressing JSP pages is simpler than addressing servlets.
  •  Because JSP pages are HTML-like, they have greater compatibility with Web development tools.
You can leave a response, or trackback from your own site.

6 Responses to “Introduction of JSP”

  1. Bhargav says:

    Nice work. Keep it up

  2. ravinder singh says:

    good

  3. Nazeer says:

    nice dude……….

Leave a Reply

CommentLuv badge