All righty.
Let's go ahead and move into Eclipse and let's go ahead and get started.
So the first thing we're going to do is create a new project.
So I'll say file new dynamic web project.
So the actual name of the project I'll give.
Hello.
I'll keep the target runtime for Apache Tomcat.
And for the configuration section, I'll actually click on the Modify button because I want to modify
this configuration to support JSF.
So here under the project facets, there's an entry here for a Java server faces.
I'll go ahead and check that box and I'm going to use JSF to point to in this video series.
Go ahead and click on the OC button here.
Click on next.
Now in this screen regarding our source folders, let's go ahead and make a modification here.
Let's go ahead and select the first item source main Java and let's remove this entry.
And now let's go ahead and click on Add folder and then we'll add the folder named Source.
I'm making this change here just to stay consistent with our existing videos.
All righty.
So that looks pretty good.
Let's go ahead and click on next.
And then for the content directory, I'll change that directory name to web content.
So again, staying consistent with our videos and also this is the directory name that was used in previous
versions of Eclipse.
So again, just staying consistent with what you'll see on Web projects.
All righty.
So that looks pretty good.
Let's go ahead and click on next.
Now for this section here for the JSF implementation library for the type, I'll choose the dropdown
and I'll choose disable library configuration because we'll do this manually later in the video.
I keep all the other defaults here for configuring the JSF servlet.
And down near the bottom.
This will allow us to access the JSF, face a servlet by using interfaces prefix on our URL.
I'll go ahead and click on Finish.
And at this point we have a very basic project set up called Helo that we just created.
Now there's still some additional steps that I need to do here.
I actually need to download the JSF libraries and add them to my project, and I'll show you how to
do that in a second.
So let's go ahead and open up a web browser and we're going to download those JSF files.
I'll simply go to love to code slash download Dash JSF.
This will actually redirect you to the repository where you can download the JSF libraries.
All righty.
So we're here at the repository here for JSF.
Let's go ahead and scroll down on this list and I'll show you the actual file that you want to download.
So let me go ahead and zoom in here for a second.
You want to download the file Java X dot faces dash 2.2.8. jar.
That's the version of the Jar file that will work with this video series with no problems.
So you go and select that link, download it to your file system.
Your browser may prompt you and then you have the file.
Download it to your computer.
All right, so let's go to our file system in my downloads directory.
Here's the jar file that was just downloaded.
So let's go ahead and get this set up for our Eclipse project.
So we basically want to copy this to our Web live directory.
So I'll go ahead and copy that jar file from my file system.
I'll move over to Eclipse and I'll paste it into the directory web lib.
It's very important that you paste the jar file into a web and flip because that's a special class path
directory that your project will use.
And that's basically it.
So you've successfully downloaded the GSF Jar file and added it to your JSF project.