Java Server Page

JSP Projects

JSP Project

adplus-dvertising
Define in brief the JavaServer Pages (JSP)
Previous Home Next

JavaServer Pages (JSP) is written into java programming language and enable to generated dynamic content/data into web-pages. JSP page is a text-based document that contains two types of text: static template data (like text-based format, such as HTML, XML, WML, and SVG ) and JSP elements ( Java source code that provide dynamic content)

Figure 1: Generation of JSP page

WEB-SERVER description (common web server)

  1. Blazix from Desiderata Software (1.5 Megabytes, JSP, Servlets and EJBs)
  2. TomCat from Apache (Approx 6 Megabytes)
  3. WebLogic from BEA Systems (Approx 40 Megabytes, JSP, Servlets and EJBs)
  4. WebSphere from IBM (Approx 100 Megabytes, JSP, Servlets and EJBs)

JSP was develop by "SUN MICROSYSTEMS" to allows server site development ,a comparison of ASP and CGI . JSP source code run on the web server in the JSP servlet engine, which able to generate the dynamic content/HTML file and sends the output to the client's browser.

Advantage of JSP

Since JSP is the mixture of static and dynamic content in web page, but is totally based on java, an object oriented language. Multi platform, security, and advantage of java. Robust and platform independent for web development. component is reused by JavaBeans and EJBs.

Note: Servlet is also similar to JSP but major different is a servlet is java class which provide server side service, and hard to write a HTML code into servlets. In servlet, required lots of println syntax to generate HTML.

Previous Home Next