Welcome, my friends.
Welcome to this lecture.
In this lecture, you will be using Hello Lloyd Servlet with excitement instead of annotations.
Hello.
So in the previous lecture uses annotations, what ordinary web servlet annotation was being used by
default?
It gets created when you create a solid.
We will now use the IT, which is the deployment descriptor for major applications and get deployment.
Descriptor gives the details of how you will want to deploy your servlet onto the Tomcat Web server.
So let us get going into Eclipse.
Eclipse reopened so practical, this is our project, our resources, thoughts on that subject.
Hello.
So we double click it.
We go here, let us see what happens when we remove this innovation.
We should get an ETA basically because there will be no deployment at all.
So there'll be no specification on deployment, that there'll be no real mapping of helo volts of fluids.
Let us see what happens control as we come into this spot.
And unless I click on this server.
That's how we'll get started and we get to need it as we start this photo for photo voters, not phone,
so it has not found the hello world.
So let.
OK, so now let us.
I'd go to the Web DODIG summit without the invitation to use the Web TotEx America under Soulik.
Here, people I have to tag in webapp Bash app.
We've allowed the Soviet controlled space.
This is the one selling.
So let not be click.
You know, here we go again.
So let.
And here we live.
So let.
Class.
Subject's public name will be, let's say hello world in your case.
So the glass will be we need to give the complete glass, including the packaging.
How do we do that?
Go the Hoover around.
Hello, Sulick.
This is what we want from laps of lawyers.
OK, so we.
Select this control team that has copy control, that is based and we've got labs, so the entire the
full definition should come, including the packaging.
So mapping.
So Ligne, again, insulted not being able to have some nickname and give the exact same name as HelloWallet
dissolution match, hello, work in public mapping and hello work.
And so.
So.
So this is this this is what makes the mapping possible between.
The class which we have, and you are in the trio that you are, you are in Baghdad.
OK, so this is the usual pattern and the pattern going to be.
And the pattern will be for slash law work.
So let's see if this is the same pattern that we had in here and little world.
So they're the same one we're using here.
I know.
Works Saturday night.
So we have created a servlet back and a subject mapping tag.
Both of them have the same name as Halo.
So this is this is the name internally, which they refer to each other.
And basically this is a mapping of the wall to the class.
So this you are if it is put in the browser, then this class, this entire this entire package you
name this class is called upon.
That means disability is called.
So that is that mapping and that is what we have achieved.
And you have done excellent.
Now let us have had lower Dutch so that a little word servlet.
I click on this.
And so it.
If you start this over.
Someone has been stuck here to is if this if this dialog box comes, save the file, save it again.
OK, fine.
And open the file.
In Firefox and you get the same, hello, you are not getting the hello word earlier when we had commented
the annotation, we have still coming on tradition, but we have added note, we have added the tags
of the relevant tags in this segment.
So it is working fine.
So it is working excellently, in fact.
Right.
So see you in the next lecture.
This was all it was about the HelloWallet Servlet.
We have created a Halo tablet using annotations, but more importantly, we have created a Halo world
using robotics.
And that was that was what we wanted to do.
So to you in the next lecture.