#7 Servlet and JSP Tutorial | RequestDispatcher | Calling a Servlet from Servlet

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

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

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

    Bedankt

    • @blaze9558
      @blaze9558 4 месяца назад

      almost rs 500 omg

  • @VaralakshmiAllu-g5t
    @VaralakshmiAllu-g5t 3 месяца назад

    Spectacular sir. The confidence is increasing day by day by seeing your tutorials. No words....huge respect from AP.

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

    I enjoyed it a lot after watching the theory of that rather than watching before theory

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

    The greatest video that I ever seen before comparing with others

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

    very conceptual teaching,thanks a lot sir.....its really good that you are moving forward with basics

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

    i'm using tomcat 8.5 and i got an hhtp error 405 when i submit my two int it says " post method is not supported by this url" but i'm using get method. please help me.

  • @chaitanyan7439
    @chaitanyan7439 3 месяца назад

    Thanks!

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

    tons of tutorials out there, and i claim, this was the best

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

    Type : Status Report
    Message : The requested resource [/FoodMart/AddServlet] is not available
    Description : The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
    Sir, can you please tell me what's getting wrong here; In html file after submitting 2 numbers; rather than showing output in console its showing above error.

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

    You are the best teacher and best video legend sir..

  • @PROfesioZNALAC
    @PROfesioZNALAC 7 лет назад +5

    Great Servlet tutorials so far, keep going, it's really helpful. Greetings!

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

    Yes navin, we are enjoying the video

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

    Great explanation, but please slow down just a little bit. At first I though I got you on 1.25 speed 🤣🤣 But on the other hand... I don't need to put you on speed 😅 Anyway... Thank you!

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

    best channel for programming concepts

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

    When you are calling the SqServlet, and when it's printing, "result is 64", the URL of that page remains as localhost:8080/DemoApp/add?num1=6&num2=2. Shouldn't it be DemoApp/sq since it's from that Servlet?

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

    I think since we are using request dispatcher In the AddServlet we could have directly said request.getAttribute("num1") in sqServlet since requestdispacther doesn't create a new request object it uses the same request object

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

    req.setAttribute() and req.getAttribute() methods belong to which type of session manangement

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

    Easy to understand. Good work. Very helpful !!!

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

    service() and doGet() doPost() method are public or Protected????

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

    I use post method in the first servlet and i notice the the url is add. So let's say that, servlet 1 call servlet 2, the servlet 2 send back the resp to servlet 1 and servlet 1 send the result on the browser???

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

    Http status 500 - Internal sever error is being generated
    Pls respond

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

    I'm really enjoying your videos! 😁

  • @piyushagarwal1542
    @piyushagarwal1542 7 лет назад +2

    Hello sir.
    I wanted to ask whether javascript is better than servlet jsp for creating websites?
    Please do reply.

    • @praveendewangan7159
      @praveendewangan7159 7 лет назад +5

      Piyush Agarwal
      Hi Piyush,
      Java and JavaScript both are different web technology. Java is used for Server Side technology, which processed on big servers to handle millions of users across worldwide. JavaScript is client side technology, which runs in your machine browser. Both technologies serves basic purpose of web.
      JSP is one of Java EE technology to develop enterprise application. Whereas with advancement of JavaScript, specially introduction of Node, Java Script can also be used to develop server side code using serverless technology.
      It is another fact that JavaScript has name ECMA Script, due to encash popularity of Java, it is named JavaScript.
      Hope this reply sufficient for your question.

  • @RekhaS-t9p
    @RekhaS-t9p Год назад

    Awesome teaching and very helpful videos

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

    Best Java channel on youtube!

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

    @Telusko Learnings How to call multiple servlets from a single servlet? Which servlet is responsible for creating res object then?

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

    When we fetch an object of RequestDispatcher interface , using the method getRequestDispatcher(string), how does it work internally?
    Like RequestDispatcher is an interface(which cannot be instantiated ) , so how does this method create its object?

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

    ok but how to just intercept res object from SqServlet if you just dedicated this servlet to computation and just return the square number in the AddServlet ?

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

    when i m passing the value using post method isnt not working while its working with get method why is so for this example above since both the method passes the value

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

    In that some kind of data binding?

  • @Surajkumar-ul9hs
    @Surajkumar-ul9hs 5 лет назад +1

    i am getting error in xml file i.e
    how to resolve this??

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

    sir what if
    1) i tried to print sum(k) on AddServlet and square(of k) on SqServlet
    2)why we have to decleare req,and res on SqServlet page in doGet() methord

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

    It's shows error when I use doPost() and method=post in html file why don't we use use these?

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

    At my end, I have to specify the argument for function getRequestDispatcher as "/sq" instead of "sq". Not sure why.

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

      its working like a directory that is the main reason

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

    Casting an object to int value doesn't work. Somebody knows why?

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

    Each time I run the code I get 500 error, I do random changes it works. I don't know what mistake I do?

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

    My server is not finding it showing sqserver not found what to do??

  • @ASHISHSHARMA-ie1re
    @ASHISHSHARMA-ie1re 7 лет назад +2

    Sir, plz complete your core Java series also,as soon as possible.we r waiting, thanks a lot sir.

    • @myprofile702
      @myprofile702 7 лет назад

      ASHISH SHARMA he already has published one core java series refer that

  • @ashwinipatil5834
    @ashwinipatil5834 5 лет назад +2

    Hello sir,your all videos are nice,sir can you plz make video on core java project ? Step by step ,so it is helpful sir ,for getting place also

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

    Thank you so much sir.. For this Explanation now I understand bcz of your tutorial.. 🤟👌🙏

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

    can we pass value from class to html page and read or print it

  • @shivanshuvyas1744
    @shivanshuvyas1744 5 лет назад +2

    Really stupendous content..!! Thanks 3000 times.

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

    Sir i hv encountered an error which is showing build path error, i have tried everything but it is not resolve plse help

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

    sir how to call the value of k=i+j in the SqServlet

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

    Hello sir..I am facing problem in executing this code servlet into another servlet that is i am not getting result as ""Hello to sq"" but getting previous result of addition??please help...

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

      What is the issue?

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

      @@SEVERANCE850 issue is that i have made a simple addservlet program as told by sir but it does not have any error but it is not also working

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

      @@aastha4708 There is something which you would be missing

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

      @@SEVERANCE850 yes that I cannot figure out..i have checked all my code and all my installed s/w setting but still couldnt find

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

    I used doPost instead of doGet why am I getting error then

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

    waoo i spend more than 3 days of an error in servlet, and i find you, I solved, nobody say me than dispacher is very important...

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

    can u do a video on how to pass values from javascript to servlet

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

    Thank you a lot sir.. This is like a God gift..

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

    Best Mentor ever seen

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

    thank you very very much .....for such a valuealble content......keep up.....thank you...

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

    i'm getting the error named
    Error instantiating servlet class

  • @Surajkumar-ul9hs
    @Surajkumar-ul9hs 5 лет назад

    i am getting error in xml file i.e

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

    Brother iam requesting you to do more videos on servlet, JSP'S and spring and springboot

  • @arun1993apr
    @arun1993apr 7 лет назад

    not getting sqservlet output only getting addservlet output how to solve.....

    • @arun1993apr
      @arun1993apr 7 лет назад

      after restarting also not getting output.....what to do

    • @arun1993apr
      @arun1993apr 7 лет назад

      sometimes server is starting perfectly but output is not displaying in any browser...what might be the problem

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

    The savior 🙌

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

    Thanks sir.Really helpful video

  • @pavanrai6196
    @pavanrai6196 7 лет назад +2

    Please start series for SPRING as soon as possible.

    • @digitalnomadg
      @digitalnomadg 7 лет назад +6

      Pavan Rai Let him finish these servlets one .. He is uploading Java core, servlets at same time. I am also waiting for spring but let us first learn this one.

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

    SIR,REQUESTDISPATCHER IS NOT WORKING IN MY ECLIPSE OR SERVER , WHENEVER I RUN IT ON THE SERVER (TOMCAT 8.5)
    IT SHOW A HUGE ERROR AND TELLING STACK IS OVERFLOW, PLEASE HELP

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

      Kishor Kumar Singh did fix the issue?

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

      You must not have extended the sqervlet with HttpServlet

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

      Same error. Any solution

  • @devrajgodara413
    @devrajgodara413 5 лет назад +2

    Sir ur content size is too small in videos it's difficult to see 👀 them clearly pls Make it bigger

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

    why servlet doesn’t hv main method?

  • @digitalnomadg
    @digitalnomadg 7 лет назад +2

    woo hoo again a new video.

  • @bilalghanchi3543
    @bilalghanchi3543 7 лет назад

    Sir If you don't mind to give us to Introduction lecture about JAVAFX

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

    By the way, youre the best

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

    I got very frequent errors especially error 405,500,402 though they got resolved but wasted so much of my time

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

    Great work.

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

    Thanks navin....already subscribed(y)

  • @pavankumar-si2jv
    @pavankumar-si2jv 6 лет назад

    Nicely explained

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

    love you 3000 sir :) thank you for such amazing content I have learned more from you rather than from College

  • @darogajee3286
    @darogajee3286 7 лет назад

    What about forward and include.... Explain... Then... Give some time mind to it....

  • @agustdik3696
    @agustdik3696 5 лет назад +9

    Please be slow for us(beginners)

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

    javax.servlet.ServletRequest what these means

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

    Screen is blurred

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

    Sir how to solve
    Http Status 500- Internal Server Error

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

      This error is came whenever there is error in your XML file...check your servlet and servlet_maping tag

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

      Check your spellings too. often time i write deGet instead of doGet. Or the Class names... and make sure you are writing the same the class name in your web.xml...

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

      @@YorkwestAdvocate thanks

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

      @@satendra6200 thanks

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

    may i use constructor in servlets?

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

    Because iam seeking to place in good reputed company with your stuff

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

    I want to learn adv java with springboot very effectively

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

    This is what I get
    - The type RequestDispatcher is deprecated

  • @avinashyadav5977
    @avinashyadav5977 7 лет назад +2

    Thanks sir

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

    Thank u so much 🚨

  • @vethinithirunavukkarasu2421
    @vethinithirunavukkarasu2421 9 месяцев назад

    In href="cart?uid=u.getId()/bid=b.getBId()" can we change this to href="cart" and can we use session to handle the userid and bookid
    Can you post a video of how to use session for a list of books or anyother items

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

    u are best

  • @27SharathK
    @27SharathK 5 лет назад

    helpful .. ! thank you

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

    loved it

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

    Plz upload more videos sir

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

    it seems like you are doing revision for your own. you go too fast

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

      play the video in slow motion(there is speed control in video, i think u know right)

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

    Your teaching style is very very fast..its not for beginners ..try to teach slowly slowly . This style makes very confuse

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

    Sir, I am facing error 405 method not allowed

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

    Hello sir..My code is not working..I am not getting result for hello to sq...please answer...Can anyone help??