#5 Servlet and JSP Tutorial | Create Servlet and web.xml Config

preview_player
Показать описание
Check out our courses:

Coupon: TELUSKO10 (10% Discount)

For More Queries WhatsApp or Call on : +919008963671

In this video will see the handelling of request and response objects using servlet.

We will see :
- Form handling
- Create new Servlet class which extends HttpsServlet
- service() method
- Request object
- Response object
- Passing value
- Query String
- Deployment Descriptor
- servlet and servlet-mapping tags
- Fully qualified name
- Accepting values from user
- Printing the result on page

A servlet is a Java programming language class that is used to extend the capabilities of servers that host applications accessed by means of a request-response programming model.
Although servlets can respond to any type of request, they are commonly used to extend the applications hosted by web servers. For such applications, Java Servlet technology defines HTTP-specific servlet classes.

All servlets must implement the Servlet interface, which defines life-cycle methods. When implementing a generic service, you can use or extend the GenericServlet class provided with the Java Servlet API.
The HttpServlet class provides methods, such as doGet and doPost, for handling HTTP-specific services.

Editing Monitors :

Subscribe to our other channel:
Telusko Hindi :

Donation:
PayPal Id : navinreddy20
Patreon : navinreddy20
Рекомендации по теме
Комментарии
Автор

I've been looking for someone to teach me how to deploy java programs that we learned in school into a website. this channel is exactly what I was looking for. THANK YOU SO MUCH

omaralkhalisi
Автор

I cant thank you enough for putting up these videos for us to learn. There's no other video in the whole of youtube that is as useful and good as this. Thank you is all I can say.

shashikalaraju
Автор

seriously you are my SAVIOR 😭 I had been struggling a lot from understanding how to do these codings... THANK YOU SO

kakaoringo
Автор

I dont even know what I will do without you my dear teacher....!!!! I started practicing servlet and getting error out of the world. I searched all websites, stackoverflow, stackexchange, etc.... and lot of unknown name websites.... After that I watched your playlist and started practicing ... THE No words can describe my thank to you. You are the

techmoon_
Автор

I don’t understand why lecturer’s in clg make this simple topic look so complicated with their teaching . Really your teaching helped sir . Thank you ❤️

varunreddy
Автор

Thank you very much sir... because of your tutorial, I am able to understand better these concepts otherwise, I have spend lakhs of rupees on my degree but not interested in classroom lectures. YouTuber like you and other are making a good software developer who has good concepts of the subject. love you sir....♥️♥️♥️♥️

PANKAJKUMAR-fezn
Автор

Thanks, man for your all tutorials and videos ! You are exactly person who we are looking for !

poladalqayev
Автор

I am coming from .Net background! Needed to learn JSP to work on in one of the project, I felt Servalet and web.xml is so funny ! You are great teacher and have real good teaching method. I love the way you explain in depth. I enjoyed it. Thank you for making this video.

starman
Автор

Sir u are really splendid. Your explanation is simplified and crystal clear. Also ur communication skill is damn good. Thanks for such tutorials which makes learning a fun.

chiranjeetparida
Автор

its coming error while importing java servlet.http.HttpServlet can anyone help me

arunagirim
Автор

Amazing. This was hands down the best video I have seen on your channel. Keep up the good work. I will surely meet you if you're in Mumbai!

lodashnotebook
Автор

Now Java Servlet make sense to me big thanks on your step-by-step playlist 💯

cursebd
Автор

the best teaching technique i have ever seen. appreciate your time . thank a lot

jamestran
Автор

im trying to do the same, servlets with jsp in tomcat, but using maven aswell, i have this problem at the beginning were i couldnt get to the servlet, i tried putting the servlet and the servlet -mapping in the xml, but whe i run it on the server i got an error, then i deleted what i put in the xml, saved, and then run it normally, after it i tried to get to the servlet and it worked..., so, to make sure it worked, i put more responses on it, but i wasnt gettig the new responses, even when i did what i did in the xml, any solution?

RoguePow
Автор

Hi....Naveen Sir, why do we write "/add" instead of "add" at the <url-pattern> tag in web.xml file

venpolis
Автор

Best video series for Adv. java. Just learning in advance so that i can laze around in class and only do practicals instead of theory hahaha 😂

dharmang
Автор

you have named your texts num1 and num2 and in AddServlet class when you request parameter you write "num1" and "num2" are those have to be the same?

berkercin
Автор

Sir i'm doing this same thing

PrintWriter out = res.getWriter();
out.println("REsult");

but result is still showing on console.

what should i do now sir help me.

ashwanipanchal
Автор

Thank you very much.
The way to create the problem intentionally and tell the solution was best!!

shoebkhan
Автор

I have one doubt. in this tutorial, u created one HTML file under web content. so it's default location. if I have many HTML files how I host the all HTML files from separate folder .ex webcontent/html/index.html is possible .if possible how to do that.

bharathirv