1 / 12

Introducing JSP and Tomcat

Introducing JSP and Tomcat. JavaServer Pages (JSP) is a technology that helps you create such dynamically generated pages by converting script files into executable Java modules JavaServer Faces (JSF) is a package that facilitates interactivity with the page viewers

akio
Download Presentation

Introducing JSP and Tomcat

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introducing JSP and Tomcat

  2. JavaServer Pages (JSP) is a technology that helps you create such dynamically generated pages by converting script files into executable Java modules • JavaServer Faces (JSF) is a package that facilitates interactivity with the page viewers • Tomcat is an application that can execute your code and act as a web server for your dynamic pages.

  3. What is JSP? • JSP is a technology that lets you add dynamic content to web pages • JSP was introduced in 1999. • Additional tags – JSP Standard Tab Library (JSTL) • JSTL is a collection of custom tags libraries that encapsulates the functionality of many JSP standard applications. • JSP Expression Language (EL) came along with JSTL • In 2003, with the introduction of JSP 2.0, EL was incorporated into the JSP specification. • In 2004, JavaServer Faces (JSF), focused on building user interfaces (UIs) and used JSP by default as the underlying scripting language.

  4. May 2006, JavaServer Pages 2.1 effectively aligned JSP and JSF technologies. • Latest Java version 7 as of July 2011, version 8 in mid 2013(?) • Tomcat (7.0) supports Servlets 3.1 (The servlet is a Java programming language class used to extend the capabilities of a server.)

  5. Viewing a JSP Page

  6. Hello World • Access http://localhost:8080/test

  7. Check syntax

  8. Use .html instead of .jsp – from hello.html to hello.jsp

  9. hello.jsp

  10. servlet

  11. Listing HTML-Request Parameters

More Related