Building Web Applications with JSP: Customizing Responses with Servlets

Java JDK 8+
  • 10 Videos | 1h 24m 48s
  • Includes Assessment
  • Earns a Badge
Java servlets are server-side programs that manage clients' requests and return a customized response for each of them. Use this course to gain some hands-on experience in customizing responses in your web application with HttpServlets. Discover how to build simple web pages that accept user input in a form, develop a servlet that can process the inputs, and add complexity to your app by introducing multiple pages. This course will also help you examine the use of a RequestDispatcher and the ServletConfig and ServletContext classes and recognize how attributes are stored at different scopes in a JSP app. Having completed this course, you'll be able to use servlets to process requests and produce customized responses in a JSP application.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    define a servlet class to process a simple GET request
    recognize the power of the WebServlet annotation when it comes to mapping servlets to URL endpoints
    use an HttpServletRequest object to access the parameters submitted by an end-user of a web application
    forward a request to a different endpoint in an application using the RequestDispatcher
  • transfer processed data from a servlet to a JSP file for display in a web app
    recognize the power and scope of the ServletConfig and ServletContext classes when working with servlets
    set attributes at the request, session, and application-level using the corresponding setter methods
    describe the process of retrieving attributes from various scopes in your app, and recognize the limitations of each scope
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 19s
    UP NEXT
  • Playable
    2. 
    Building a Java Servlet
    12m 19s
  • Locked
    3. 
    Deploying and Testing a Servlet
    7m 54s
  • Locked
    4. 
    Processing Inputs in a Servlet
    8m 50s
  • Locked
    5. 
    Using the RequestDispatcher
    10m 9s
  • Locked
    6. 
    Forwarding a Request from a Servlet to a JSP Page
    9m 12s
  • Locked
    7. 
    Working with ServletConfig and ServletContext
    9m 18s
  • Locked
    8. 
    Setting Attributes at Different Scopes
    11m 7s
  • Locked
    9. 
    Retrieving Attributes from Different Scopes
    7m 35s
  • Locked
    10. 
    Course Summary
    2m 4s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE