Java Web Development with Servlets and JSP

This course provides comprehensive and definitive coverage of how to build Web applications for the Java Platform, Enterprise Edition 7, by using servlets and Java Server Pages. You will learn how to create industrial-strength Web applications using the full power of the Java Web API.


3 days



  • At least 6 months Java programming experience
  • Familiarity with HTML and web development would be an advantage

What you'll learn

  • Understand Java Web application architecture
  • Implementing servlets
  • Defining JSP pages
  • Using EL and JSTL in JSP pages
  • Using JSP standard actions
  • Developing and using custom tags
  • Defining filters and listeners
  • Implementing security

Course details

Java Web Development Concepts

  • Web applications
  • Java Web components
  • The role of servlets and JSP pages
  • Overview of JSF

Java Servlets

  • Servlet requests and responses
  • Parameterizing servlets
  • Servlet lifecycle
  • Session tracking
  • Cookies
  • HTTP headers
  • Annotation-based configuration via the Servlet 3 specification

Java Server Pages

  • Embedding active content or results in a web page
  • JSP syntax
  • JSP and servlet interactions
  • MVC architecture

Building JSP Pages using Expression Language (EL)

  • Overview of the Expression Language (EL)
  • Performing arithmetic and tests in EL
  • Using tag library functions in EL

Building JSP Pages using Standard Actions

  • Overview of JavaBeans
  • Using JavaBeans via JSP actions
  • Getting and setting JavaBean properties
  • Statically including another file
  • Dynamically including another file

Using the JSP Standard Tag Library (JSTL)

  • Overview of JSTL
  • Variables and properties
  • Conditional logic and iteration
  • URL management
  • Additional features

Developing and using Custom Tags

  • Overview of tag libraries
  • Understanding taglib directives
  • Tag library descriptors
  • Using the Simple Tag Extension API
  • Using tag files

Additional Techniques

  • Defining and configuring filters
  • Implementing and registering event listeners
  • Implementing security