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

Поделиться
HTML-код
  • Опубликовано: 11 окт 2024

Комментарии • 367

  • @varunreddy9806
    @varunreddy9806 2 года назад +8

    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 ❤️

  • @techmoon_
    @techmoon_ 3 года назад +1

    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 END!!!!!!!! No words can describe my thank to you. You are the BEST!!!!!!!!!!!!!!!!!!!!!!!

  • @omaralkhalisi4354
    @omaralkhalisi4354 5 лет назад +18

    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

  • @shashikalaraju5769
    @shashikalaraju5769 4 года назад +25

    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.

  • @kakaoringo0929
    @kakaoringo0929 4 года назад +12

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

  • @starman9000
    @starman9000 4 года назад +1

    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.

  • @PANKAJKUMAR-fe8zn
    @PANKAJKUMAR-fe8zn 4 года назад +1

    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. RUclipsr like you and other are making a good software developer who has good concepts of the subject. love you sir....♥️♥️♥️♥️

  • @curseb100d26
    @curseb100d26 Год назад +3

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

  • @dhirajshalgar5015
    @dhirajshalgar5015 3 года назад +2

    Hello sir I have got 1 error of 404.
    Says that, " the origin server did not find a current representation for the target resource or is not willing to disclose that one exists. "

    • @sita476
      @sita476 2 года назад

      Have you resolved it?

  • @shoebkhan1503
    @shoebkhan1503 5 лет назад +4

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

    • @lodashnotebook5390
      @lodashnotebook5390 4 года назад +1

      Yeah. That comes thru practice. But I knew Sysout prints to the console so I caught that one!

  • @Scholarly_Stories
    @Scholarly_Stories 2 года назад +2

    i was struglling for last 4 hrs, finally tqqqqqqqq

  • @ankitaB11
    @ankitaB11 2 года назад +1

    This is hands down the best. End of story

  • @chiranjeetparida263
    @chiranjeetparida263 4 года назад +2

    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.

  • @hanishvenkat9496
    @hanishvenkat9496 10 месяцев назад

    your videos always provides the best information .....thank you

  • @gopalbharadva9623
    @gopalbharadva9623 5 лет назад +1

    Sir you are amazing
    i understand very much from your tutorials
    and in my college there are faculties which have nothing knowledge to teach us
    Even they don't know how to print hello world in any programming language

  • @nc840
    @nc840 3 года назад +2

    The origin server did not find a current representation for the target source or is not willing to disclose that one exists.
    I had that kind of problem and I solved it. I deleted eclipse and tomcat. and again I downloaded and installed them and it finally works.
    cheers :)

    • @niitnahuja8793
      @niitnahuja8793 Месяц назад

      I am facing this same issue and struggling with it. Will try this option now and hope it works.

  • @lodashnotebook5390
    @lodashnotebook5390 4 года назад +4

    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!

  • @stursshiphez7559
    @stursshiphez7559 3 года назад +6

    You are a blessing, sir. Keep doing the good work ❤️

  • @akshayn7687
    @akshayn7687 2 года назад

    Thank you so so so much Sir.....I don't understand this at the class ....but after watching this video I understand all this things.....😍 keep doing sir😍👍🏻

  • @dhananjaygohil1527
    @dhananjaygohil1527 5 лет назад +1

    You are a very good teacher sir.

  • @jamestran1719
    @jamestran1719 6 лет назад +1

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

  • @thiago670
    @thiago670 6 лет назад +2

    I really like of your classes, very good!
    Do you use servelets in your projects?

  • @dharmang
    @dharmang 4 года назад

    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 😂

  • @thedrunkmonk8386
    @thedrunkmonk8386 4 года назад

    Very clear, thank you. My database professor simply said final project is a web application, use whatever. :'D I used some javascript last year but I don't remember much, we've just finished a project using jdbc, so I understand that well enough, but for the in-between I had no idea.

  • @tusharadhatrao4749
    @tusharadhatrao4749 3 года назад

    Thank you soo much sir!!! I was trying to run servlets for 2 days!!

  • @xyzabc6898
    @xyzabc6898 3 года назад

    THANK YOU SIR, you Cleared this Concept in Java ....

  • @chinli72
    @chinli72 2 года назад

    Best video on servlet, simple and clear.

  • @arun1993apr
    @arun1993apr 6 лет назад +12

    i'm getting http status 500 what to do sir?? the output is also not displaying in console......

    • @amitrathod1134
      @amitrathod1134 4 года назад

      It is an Internal Server Error. The reason for that can be your server is not yet started or not properly configured.

  • @manojrana4469
    @manojrana4469 4 года назад +8

    Eclipse: Missing web.xml file? How can I create web.xml in Eclipse?
    DemoApp
    Right Click
    Java EE Tools
    Generate Deployment Descriptor Stub
    after that you got the web.xml file

  • @sagarmeena0210
    @sagarmeena0210 5 лет назад +8

    you make it everything easy

  • @Jethuri
    @Jethuri 5 лет назад +8

    i am getting the error...
    The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
    i have tried all the possible solutions.. but still getting the Error
    Please help..

    • @jayeshkhosla5710
      @jayeshkhosla5710 5 лет назад

      Problem solved:
      Edit your url-pattern "/***" to exact keyword what it is, if it is case sensitive.

    • @sushmithar9343
      @sushmithar9343 5 лет назад

      @@jayeshkhosla5710 sorry i can't get you

  • @swordrohit07
    @swordrohit07 3 года назад +1

    very clear explanation ..great tutorial

  • @arunagirim3455
    @arunagirim3455 3 года назад +2

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

  • @berkercin6800
    @berkercin6800 5 лет назад +1

    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?

  • @domb3665
    @domb3665 6 лет назад

    Thanks, I really need to understand how web.xml works so this was a help

  • @arpitaingermany
    @arpitaingermany 5 лет назад +1

    thankyou bhaiya your playlist are amazing..u really teach well

  • @shinchannohara391
    @shinchannohara391 5 лет назад +5

    Please help me to resolve this error:Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

  • @poladalqayev631
    @poladalqayev631 6 лет назад

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

  • @venpolis8258
    @venpolis8258 6 лет назад +1

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

  • @maveone2
    @maveone2 6 лет назад +1

    Hi Naveen , great tuts.. Thanks for helping us...
    Had a small confusion..
    Coming to servlet mapping , i do not have the tags in web.xml, yet my servlet deployed properly. Also while creating the servlet, in deployment description window, i mentioned a vague path to test like "/anything/test" , but it deployed again properly.. How was that?

  • @shobhitsingh7735
    @shobhitsingh7735 3 года назад +3

    for the people who are having internal error 500 solution is u r right clicking run on server on the class file . that is why it is showing that . for error 404 u r doing it on web.xml . you have to go to the index.html page and then right lick and then slect run on server . it will solve your problem.

  • @sangeting
    @sangeting 4 года назад +2

    Can you please help me with the problem i am facing. After writing all exactly as told in the tutorial web.xml is creating the error if I give the name under url pattern exactly as in html files action. the error i get is:
    "starting Tomcat V9.0 server at localhost has encountered a problem. Tomcat V9.0 server at localhost failed to start"

    • @wholeegg
      @wholeegg 4 года назад

      use /add in the HTML file you created

  • @bharathirv8479
    @bharathirv8479 5 лет назад +1

    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.

  • @sunnyjain630
    @sunnyjain630 5 лет назад

    thanks sir for this lucid way of teaching....

  • @aastha4708
    @aastha4708 3 года назад

    you have amazing knowlegde sir...hatts off to you and thanks for sharing...

  • @BibekGhoshh1
    @BibekGhoshh1 2 года назад +1

    lots of love sir

  • @RoguePow
    @RoguePow 6 лет назад

    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?

  • @digitalcity3153
    @digitalcity3153 6 лет назад

    Wow.... your Explanation is great sir

  • @junaidansari95
    @junaidansari95 6 лет назад +8

    Super tutorials by superman! Lol

  • @tejaswibhargava8745
    @tejaswibhargava8745 4 года назад +1

    PLZZZ HELP ME WITH THE DOUBT!!
    We can use doGet() instead of using service() right?? if yes then how is using service() different from using doGet()

  • @Nani-Coder
    @Nani-Coder Год назад

    Iam always Thanking You Sir❤

  • @realhealthywater7135
    @realhealthywater7135 3 года назад

    Great explanation dear navin. thanks

  • @ashwanipanchal7467
    @ashwanipanchal7467 6 лет назад +1

    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.

  • @revanthreddy1906
    @revanthreddy1906 4 года назад +4

    HTTP status 500 - internal Server error
    How to resolve this error

    • @ganivicky8383
      @ganivicky8383 4 года назад

      Did you found that error solution... If you got the solution then pls help me..

    • @revanthreddy1906
      @revanthreddy1906 4 года назад

      @@ganivicky8383 no i did not get!

    • @GeloEd
      @GeloEd 3 года назад

      Resolved my error 500. Paste the error here. i could help.

  • @anjupanicker7934
    @anjupanicker7934 3 года назад

    Jeez Thanks a lot I owe my life to this vid

  • @maddydllng2882
    @maddydllng2882 5 лет назад +1

    superb sir.....

  • @akshaysontakke3055
    @akshaysontakke3055 2 года назад

    Thanks you so much sir for your efforts and dedicated to teach 🔥🔥🔥🔥🔥🔥

  • @p9bklokendrabhajane255
    @p9bklokendrabhajane255 3 года назад

    Awesome channel for me .
    Salute to you Sir..

  • @prathamchitransh5338
    @prathamchitransh5338 2 года назад +1

    In my web.xml file there is a predefine code of 4726 lines but in your case there are only 16 line how to resolve this?

  • @syedidrees6220
    @syedidrees6220 4 года назад

    Thank you sir very well explain you make it very easy to learn

  • @darshangaikwad8626
    @darshangaikwad8626 3 года назад +1

    Sir You're awesome ❤️

  • @simbol5638
    @simbol5638 5 лет назад

    Great Lecture sir!

  • @Shivaramudu_Gonegandla
    @Shivaramudu_Gonegandla 11 месяцев назад

    Than you sir

  • @Nani-Coder
    @Nani-Coder Год назад

    Really you are so amazing sir

  • @shailjakantupadhyay5183
    @shailjakantupadhyay5183 6 лет назад

    Sir Please help me, does index.html is the one where program started running ? Who initiated the program ?

  • @ashokreddy2982
    @ashokreddy2982 5 лет назад

    Sir How To Get Web.XML Is It Downloaded Or we Can Create It With An Extension?? its Just The only Thing In Final Process Of Mine page... please Give Answer Sir.. Please.. And Iam in Sec Year Of CSE But with Your Exaplaination I Really Wondered I Can Understand that One All Beacuse Of Your Excellent Explaination..thank You Soo Much.. I Just Wanted it As A Mini Project In Innovation Day Sir Thank You Soo Much ❤ Sir

  • @aquibshaikh8611
    @aquibshaikh8611 3 года назад +1

    It says unable to resolve javax.servlet. Also while trying to add external jar the button is greyed out. This is very frustrating

  • @surajtopal9940
    @surajtopal9940 3 года назад

    so far soo good sir ji , thanks a lot

  • @MuhammadUsman-ke1sl
    @MuhammadUsman-ke1sl 3 года назад

    Excellent Content, well explained, well programmed

  • @jaivinmovaliya5827
    @jaivinmovaliya5827 5 лет назад

    Amazing teaching

  • @rusnardo17
    @rusnardo17 4 года назад

    Thank you very much, very well explained.

  • @sathishkumarr7106
    @sathishkumarr7106 4 года назад +1

    Keep teaching bro❤️🙂

  • @Abhi-ss5lk
    @Abhi-ss5lk 4 года назад +1

    wow sir very nice

  • @sumanjogi614
    @sumanjogi614 3 года назад +1

    It is very helpful....thank u very very much!!!

  • @veronicagomes2699
    @veronicagomes2699 4 года назад +2

    Can you please solve my problem, i cannot connect to the tomcat server, it says stopped, republish. I tried starting it, but doesnt work.

  • @muthulakshmiram7622
    @muthulakshmiram7622 2 года назад

    Thank you Navin... It's truely amazing and thanks again

  • @sreelakshmiks292
    @sreelakshmiks292 5 лет назад +1

    Very helpful🤗

  • @preethamm.n1161
    @preethamm.n1161 4 года назад

    💞💞💞Awesome sir
    I love servlets 🌹💞💞💞

  • @geesslight18
    @geesslight18 3 года назад

    sir,
    thank you for your great tutorial

  • @priyankau1982
    @priyankau1982 3 года назад

    Amazing tutorial helped a lot

  • @pramodnayak4604
    @pramodnayak4604 5 лет назад +6

    Hi,
    using eclipse neon and tomcat 9
    I am facing this error in spite of following the same instructions given in the video above.
    ERROR 404
    Type Status Report
    Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

    • @ifad9126
      @ifad9126 4 года назад

      I am also racing issue in Version 8.5

    • @ifad9126
      @ifad9126 4 года назад

      Did anyone have Solution

  • @chandranihalder8713
    @chandranihalder8713 6 лет назад +1

    Awesome tutorial, thanks!

  • @techpredictor509
    @techpredictor509 3 года назад

    you are nailed it.

  • @DeepShahmusic
    @DeepShahmusic 3 года назад

    Sir instead of javax ....
    Eclipse showing Jakarta
    And showing warning as
    Javax can not be resolved ....
    Can u please tell any solution to this?

  • @tanush809
    @tanush809 2 года назад

    Excellent

  • @vishuvyas9716
    @vishuvyas9716 2 года назад

    sir you are awesome

  • @rashijain4207
    @rashijain4207 6 лет назад

    Superb tutorials

  • @talhashahid484
    @talhashahid484 3 года назад +1

    1:54 Use:
    Import jakarta.servlet.http.HttpServlet;
    if you are having a problem

  • @nikkuzmich5378
    @nikkuzmich5378 4 года назад

    You helped me a lot. Thank you!

  • @easternhair
    @easternhair 6 лет назад

    will servlet work in regular host server?

    • @easternhair
      @easternhair 6 лет назад

      thank you, i do have tomcat and servlet are working on my computer, i mean will servlet work in 1and1.com or some kind of hosting company like that? will thy support java servlets there? also could u tell me please which is better to learn javaScripts or java servlets? thank u, also do u have node.js tutorials, it seems its popular now, whats is that? thank u.
      thank u. Best Teacher!!!!

    • @pratikbhardwaj3804
      @pratikbhardwaj3804 6 лет назад

      sir tomcat is a server and catalina is a container

    • @easternhair
      @easternhair 6 лет назад

      My question was: will this calsses and servlets work on regular host companies? like .php or .javascript

  • @lathayr4058
    @lathayr4058 4 года назад +2

    Can you pls let me know how are you going into the class definition by clicking httpServlet

  • @surbhimahajan5578
    @surbhimahajan5578 6 лет назад +1

    Why it doesn't work when we don't do web.xml code here and write instead?

    • @tejaswibhargava8745
      @tejaswibhargava8745 4 года назад

      for that, you need to select version 2.5 while creating the dynamic web app so it will automatically generate the .XML file and later you can use the tag

  • @ashwinpai8195
    @ashwinpai8195 2 года назад

    I am still getting error in web.xml page
    It says 'The Value of 2.5 of attribute version on element web app is not valid with respect to its type
    How to solve this error ?

  • @sunnyparmar9692
    @sunnyparmar9692 5 лет назад

    This was a very helpful video indeed.. thank you

  • @jkye_314
    @jkye_314 5 лет назад

    you are the best one !

  • @premlatakumari91
    @premlatakumari91 Год назад

    If HttpServlet is an inteface then why we are extending it we should impliment it but rater than using impliment key we are using extends keyword reason behind it?

  • @heenakshiazad8167
    @heenakshiazad8167 5 лет назад +1

    i m facing class not found exception on this code . Please tell me how to resolve it .

  • @girirajsekar9951
    @girirajsekar9951 5 лет назад

    Thankyou sir its really awesome.

  • @top5things968
    @top5things968 2 года назад

    Thank you sir !

  • @rammoorti8619
    @rammoorti8619 6 лет назад

    Very helpful