From the course: Java EE: Servlets and JavaServer Pages (JSP)

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Core module: Querying database

Core module: Querying database

From the course: Java EE: Servlets and JavaServer Pages (JSP)

Start my 1-month free trial

Core module: Querying database

- [Instructor] Okay so let's see what we are going to implement as part of this demo. We click on the login hyperlink enter the credentials, and when we reach the home page we'll click on order history, and we'll get these products displayed, which is basically the order history for the customer. So let's start. Now let us take a look at this Java servlet page tag library demo. The first of them we are going to see the code module and then we'll see the FMT module. So for that, we need a servlet class right now for the JSTL, so let's go ahead, and what we are going to do is, we are going to show the order history now. So the order history is going to be completely shown on the page using JSDL. So my order history servlet is ready, I already have a template of it, which extends HHTPServelet, and of course I've annotated it with the order history URL pattern. Next step we'll do Add a method in the ApplicationDao class to get the order details for the user. So let's go ahead, and this is…

Contents