Building Web Applications with JSP: An Introduction to JSP

Java    |    Beginner
  • 11 videos | 1h 27m 24s
  • Includes Assessment
  • Earns a Badge
Rating 4.3 of 32 users Rating 4.3 of 32 users (32)
JavaServer Pages (JSP) is a technology for developing web pages that support scripting and element-based dynamic content. This helps developers insert java code in HTML pages by making use of special JSP tags. Use this course to familiarize yourself with the different aspects of building a website using JSP. With the help of this course, explore how to set up Apache Maven and Apache Tomcat web server, build JSP applications, and apply scriptlets as well as specific tags for declarations and expressions. You'll also dive into other features of JSP applications, including the separation of Java code into different files and accessing the request object, and learn more about the contents of a WAR file. After finishing this course, you'll have a foundational understanding of building and deploying JSP applications.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Download and set up the apache maven build automation tool
    Use apache maven to build a stub web application
    Set up apache tomcat web server that can be used to serve a jsp application
    Create a war file for a web app and deploy it to a tomcat web server
    Develop a basic jsp app containing both html and java code
  • Use a variety of jsp tags to define java methods and invoke them in a jsp source file
    View various properties of an incoming request object
    Unpack and view the contents of the war archive for a jsp application and describe its structure and properties
    Build a composite jsp page by referencing external jsps
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 21s
    In this video, you’ll learn more about the course and your instructor. In this course, you’ll learn how to set up Apache Maven and Apache Tomcat Web Server. You’ll then move on to the building of simple JSP apps. You’ll apply some of the basic building blocks of JSPs and scriptlets, as well as specific tags for declarations, expressions, and more. You’ll then dive into other features of JSP applications. FREE ACCESS
  • 7m 21s
    Here, you’ll watch a demo. You’ll start with Java Server Pages or JSPs. JSPs are a very simple solution when it comes to creating dynamic websites. This technology allows you to combine the power of HTML when it comes to defining the visual elements in a webpage with the strength of the Java programming language to implement business logic. In order to use JSP, you’ll need to have Java up and running. FREE ACCESS
  • Locked
    3.  Creating a Web Application Using Maven
    10m 52s
    Here, you’ll watch a demo. You’ll build the skeleton of a web application. Any web application built using JavaServer Pages requires a certain structure. This includes a directory structure as well as a web.xml file. The easiest way to create a project which follows that structure is to build one using a Maven archetype. That’s what you’ll do next. For that, you’ll navigate into your Projects workspace directory. FREE ACCESS
  • Locked
    4.  Downloading and Installing Apache Tomcat
    5m 15s
    Here, you’ll watch a demo. Now that you’ve set up Maven and created the skeleton of your web application, the next step is to download and install Apache Tomcat server. This is a commonly used web server that deploys Java-related web applications. Apache Tomcat includes implementations for Java server pages, Java servlets, and other Java-related technologies out of which a web application can be built. FREE ACCESS
  • Locked
    5.  Packaging and Deploying a Web App
    11m 23s
    Here, you’ll watch a demo. Now you have all of the components in place to build and deploy web applications built using JSP. Now, you’ll quickly test out the different steps involved in order for that to happen. Onscreen, you’ll see the IntelliJ IDE. You’ll see the index.jsp file is open. The index.jsp file serves as the entry point into a JSP web application. FREE ACCESS
  • Locked
    6.  Writing and Deploying a JSP App
    10m 8s
    Here, you’ll watch a demo. You’ll switch your focus to development. JSP allows you to combine the power of HTML to define the visual elements of a web page. It contains all the features of the Java programming language you need to implement your business logic. The example onscreen contains a mix of HTML and Java code. You’ll learn more about each of the elements. You’ll see an HTML tag and a closing HTML tag. FREE ACCESS
  • Locked
    7.  Declaring and Invoking Functions
    12m 43s
    Here, you’ll watch a demo. You’ll learn to declare and invoke functions. Previously, you learned how to interweave HTML and Java inside a JSP source file. While doing so, you included all of the Java code within something called a JSP scriptlet tag. This is denoted by the angle brackets and percentage signs. This allows you to convey information from the Java portion of your application over to the HTML response via out.println. FREE ACCESS
  • Locked
    8.  Accessing the request Object
    6m 58s
    Here, you’ll watch a demo. You’ll explore how it’s possible to access the request from a client within your JSP server application. First, you’ll clean up your IntelliJ UI and close the NameUtils.java source. You’ll then head over to the project pane and delete the source file. You’ll paste in new code and you’ll see there are a couple of references to the request object. FREE ACCESS
  • Locked
    9.  Exploring the WAR File
    8m 40s
    Here, you’ll watch a demo. You’ll explore the WAR file. So far you’ve seen different pieces come together to build a JSP app. This includes an Apache Tomcat web server and a WAR file. You’ve seen how to construct a web application using Maven. It’s important to know what exactly the WAR file contains. Inside the target folder, there’s the jsp-project.war file. Here, you’ll look at its contents. FREE ACCESS
  • Locked
    10.  Referencing Other JSP Pages
    9m 27s
    Here, you’ll watch a demo. You’ll learn more about JSP pages. There are many benefits to making our application modular. Specifically, by separating different components of the application into different source files, each of the source files can be built and maintained separately, including by separate teams. The same applies to JSP applications. Here, you’ll build a JSP app that contains multiple JSP pages. FREE ACCESS
  • Locked
    11.  Course Summary
    2m 16s
    In this video, you’ll summarize what you’ve learned in this course. You’ve learned the different pieces that come together to build a website using JSP. You set up Apache Maven and Apache Tomcat web server. You saw how Maven helps you describe and target your JSP apps. You then moved on to building a simple JSP application. You applied some of the basic building blocks of JSPs, scriptlets, and tags for declarations, expressions, and more. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 616 users Rating 4.4 of 616 users (616)
Rating 4.5 of 77 users Rating 4.5 of 77 users (77)
Rating 4.6 of 66 users Rating 4.6 of 66 users (66)